SMAHA00600_예약접수[비자건진].xrw 111 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHA00600.xrw
  4. * 설 명 : 비자건진예약/접수
  5. * 설 계 자 : 손주연
  6. * 작 성 자 : 손주연
  7. * 작 성 일 : 2007.06.13
  8. * 수정이력 : 김다영
  9. 조두현 2008.01.10 추가요구사항 등록
  10. * 기 타 :
  11. -->
  12. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  13. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  14. <xhtml:head>
  15. <xhtml:title>VISA등록</xhtml:title>
  16. <model id="model1">
  17. <instance id="instance1">
  18. <root xmlns="">
  19. <main>
  20. <list>
  21. <rsrvlst>
  22. <hopedd/>
  23. <pid/>
  24. <engnm/>
  25. <pnm/>
  26. <brthareacnts/>
  27. <pkgcd/>
  28. <pkgnm/>
  29. <rgstno1/>
  30. <rgstno2/>
  31. <sexage/>
  32. <statflag/>
  33. <rsrvdd/>
  34. <rsrvno/>
  35. <rcptstat/>
  36. <visano/>
  37. <totamt/>
  38. <cmpynm/>
  39. <rsrvdttm/>
  40. <lastupdtrid/>
  41. <lastupdtdt/>
  42. </rsrvlst>
  43. <acptlst>
  44. <orddd/>
  45. <pid/>
  46. <visano/>
  47. <engnm/>
  48. <pnm/>
  49. <brthareacnts/>
  50. <pkgcd/>
  51. <pkgnm/>
  52. <rgstno1/>
  53. <rgstno2/>
  54. <sexage/>
  55. <rcptstat/>
  56. <rsrvdd/>
  57. <rsrvno/>
  58. <statflag/>
  59. <acptflag/>
  60. <cmpynm/>
  61. <acptdttm/>
  62. <lastupdtrid/>
  63. <lastupdtdt/>
  64. </acptlst>
  65. <cncllst>
  66. <cncldd/>
  67. <pid/>
  68. <engnm/>
  69. <brthareacnts/>
  70. <pkgcd/>
  71. <pkgnm/>
  72. <rgstno1/>
  73. <rgstno2/>
  74. <sexage/>
  75. <rsrvdd/>
  76. <rsrvno/>
  77. <statflag/>
  78. <rcptstat/>
  79. <visano/>
  80. <pnm/>
  81. <cmpynm/>
  82. <cncldttm/>
  83. <lastupdtrid/>
  84. <lastupdtdt/>
  85. </cncllst>
  86. <listinfo>
  87. <acptcnt/>
  88. <rsrvcnt/>
  89. <rcptcnt/>
  90. <cnclcnt/>
  91. <holdcnt/>
  92. <failcnt/>
  93. <outcnt/>
  94. </listinfo>
  95. </list>
  96. <info>
  97. <patinfo>
  98. <item>
  99. <pid/>
  100. <rgstno1/>
  101. <rgstno2/>
  102. <hngnm/>
  103. <engnm/>
  104. <brthareacnts/>
  105. <sex/>
  106. <age/>
  107. <brthdd/>
  108. <zipcd11/>
  109. <zipcd12/>
  110. <zipcdseq1/>
  111. <addr1/>
  112. <detladdr1/>
  113. <mpphon/>
  114. <telno/>
  115. <emailid/>
  116. <emailtype/>
  117. <healexampid/>
  118. <emailkind/>
  119. <zipcd21/>
  120. <zipcd22/>
  121. <zipcdseq2/>
  122. <addr2/>
  123. <detladdr2/>
  124. <psptno/>
  125. <pidcretfg/>
  126. <insuid/>
  127. <hopedd/>
  128. <detladdr2/>
  129. <clntgrde/>
  130. <patremcnts/>
  131. <notice/>
  132. </item>
  133. </patinfo>
  134. <rsrvacptinfo>
  135. <item>
  136. <cmpyflag>N</cmpyflag>
  137. <orddd/>
  138. <rsrvdd/>
  139. <hopedd/>
  140. <rsrvtm/>
  141. <rsrvflag>01</rsrvflag>
  142. <rsltcnstflag>02</rsltcnstflag>
  143. <rsltcnstrsrvdd/>
  144. <rsrvguidsendyn/>
  145. <rsrvguidsenddd/>
  146. <insucorpbrchcd/>
  147. <insucorpbrchnm/>
  148. <insuid/>
  149. <disccd/>
  150. <discremark/>
  151. <emprelacd/>
  152. <empid/>
  153. <empnm/>
  154. <recmempid/>
  155. <recmempnm/>
  156. <famypid/>
  157. <famypnm/>
  158. <famyrelacd/>
  159. <deptcd/>
  160. <deptnm/>
  161. <clntgrde/>
  162. <clntempid/>
  163. <jobposcd/>
  164. <remcnts/>
  165. <pkgcd/>
  166. <pkgnm/>
  167. <latestpkginfo/>
  168. <choiflag>01</choiflag>
  169. <cmpycd/>
  170. <conseq/>
  171. <mode/>
  172. <status/>
  173. <healexamflag/>
  174. <healexamdetlflag/>
  175. <entcodd/>
  176. <rsltcnststatflag/>
  177. <dietcnstyn/>
  178. <orgexamdt/>
  179. <bizoffccd/>
  180. <jobkindflag/>
  181. <pkguncocd/>
  182. <rsltcnstrsrvtm/>
  183. <cmpynm/>
  184. <visaflag/>
  185. <famylst/>
  186. <visano/>
  187. <rsltcnstdrid/>
  188. <brthareacnts/>
  189. <acpt_insuid/>
  190. <acpt_insukind/>
  191. <discremcnts/>
  192. <conhistseq/>
  193. <statflag/>
  194. <rsltcnststatflag/>
  195. <rsltcnstrsrvdd/>
  196. <orddeptcd/>
  197. <orddrid/>
  198. <ordtm/>
  199. <cretno/>
  200. <acptseqno/>
  201. <acpt_insucd/>
  202. <pkgamt/>
  203. <rsrvno/>
  204. <rsltcnstdrid/>
  205. <healexamplacecd/>
  206. </item>
  207. <addlst>
  208. <sel/>
  209. <testflag/>
  210. <testcd/>
  211. <testnm/>
  212. <uncocd/>
  213. <scoreamt/>
  214. <prcptims/>
  215. <discamt/>
  216. <examseq/>
  217. <calcscorcd/>
  218. <prcpno/>
  219. <prcpdd/>
  220. <m/>
  221. <grupflag/>
  222. <addtotamt/>
  223. </addlst>
  224. <pkglst>
  225. <sel/>
  226. <pkgflag/>
  227. <pkgcd/>
  228. </pkglst>
  229. </rsrvacptinfo>
  230. <histlst>
  231. <item>
  232. <orddd/>
  233. <pkgcd/>
  234. <pkgnm/>
  235. <rsrvdd/>
  236. <rsrvno/>
  237. <lastupdtrid/>
  238. <lastupdtdt/>
  239. <cmpyflag/>
  240. <visano/>
  241. <remcnts/>
  242. </item>
  243. </histlst>
  244. <curlst>
  245. <item>
  246. <hopedd/>
  247. <rsrvtm/>
  248. <orddd/>
  249. <testcd/>
  250. <testnm/>
  251. <testroomcd/>
  252. <statflag/>
  253. <lastupdtrid/>
  254. <lastupdtdt/>
  255. </item>
  256. </curlst>
  257. <rcptinfo>
  258. <totamt/>
  259. <pkgamt/>
  260. <addamt/>
  261. <subtotamt/>
  262. <preamt/>
  263. <discamt/>
  264. <uncoamt/>
  265. <realamt/>
  266. </rcptinfo>
  267. <visalst>
  268. <item>
  269. <visano/>
  270. </item>
  271. </visalst>
  272. <pkgdetl>
  273. <item>
  274. <cdnm/>
  275. <pkgcd/>
  276. <spcnm/>
  277. <testnm/>
  278. <stndval/>
  279. <padd/>
  280. </item>
  281. </pkgdetl>
  282. <taginfo>
  283. <rtime/>
  284. <tagno/>
  285. <suppstat/>
  286. </taginfo>
  287. </info>
  288. <sum/>
  289. <seqprntdata/>
  290. </main>
  291. <send>
  292. <srchhealexamdetlflag/>
  293. <srchfromdd/>
  294. <srchtodd/>
  295. <srchpid/>
  296. <srchpnm/>
  297. <srchinstcd/>
  298. <srchhealexamflag/>
  299. <clscd/>
  300. <etccd/>
  301. <srchmode/>
  302. <save/>
  303. <srchpnm2/>
  304. <srchpid2/>
  305. <srchrsrvdd/>
  306. <srchrsrvno/>
  307. <srchinstcd/>
  308. <srchjobflag/>
  309. <savercpt>
  310. <opmi_out/>
  311. </savercpt>
  312. <srchlst>
  313. <srchfamypid/>
  314. <srchfamyinstcd/>
  315. <srchfamyhealexamflag/>
  316. </srchlst>
  317. <visanosrch>
  318. <genrdd/>
  319. <genrkind/>
  320. <instcd/>
  321. </visanosrch>
  322. <srchvisano/>
  323. <srcocmlflag/>
  324. <srchmode>4</srchmode>
  325. <srchhealexampid/>
  326. <srchrgstno1/>
  327. <srchrgstno2/>
  328. <srchcond/>
  329. <srchpkgcd/>
  330. <srchcmpycd/>
  331. <srchconseq/>
  332. <srchsex/>
  333. <savercpt>
  334. <opmi_out/>
  335. </savercpt>
  336. <savercpt>
  337. <opmi_out/>
  338. </savercpt>
  339. <rrgstno/>
  340. <taginfo/>
  341. <srchtagno/>
  342. <savetemprsrv/>
  343. </send>
  344. <init>
  345. <baseinfo>
  346. <pamcdlst>
  347. </pamcdlst>
  348. <hedetlflaglst/>
  349. <detlcodelst/>
  350. <testflag/>
  351. <natiinlst/>
  352. <relacdlst/>
  353. <heflaglst/>
  354. <rsltlst/>
  355. <uncocdlst>
  356. </uncocdlst>
  357. <clntgrdlst/>
  358. <rsrvflaglst/>
  359. <rsltcnstflaglst/>
  360. <choiflaglst/>
  361. <emaillst/>
  362. <statlst/>
  363. <healexamplacelst/>
  364. <cmpydetlcdlst>
  365. <deptlst/>
  366. </cmpydetlcdlst>
  367. </baseinfo>
  368. <srchmode>4</srchmode>
  369. <place>
  370. <healexamplacecd/>
  371. </place>
  372. </init>
  373. <hidden>
  374. <tlst/>
  375. <item/>
  376. </hidden>
  377. <temp>
  378. <templst/>
  379. <rcptinfo>
  380. <hidden/>
  381. </rcptinfo>
  382. <rcptno_out/>
  383. <emailtype/>
  384. <pkgtestcdlst/>
  385. <rsrvacptkey/>
  386. <colgpkgchoiyn>
  387. <item>
  388. <existyn/>
  389. </item>
  390. </colgpkgchoiyn>
  391. <temp>
  392. <psnworkinfo/>
  393. </temp>
  394. <rcptCheck/>
  395. <discamt/>
  396. <rsrvstate/>
  397. <sytsrsrvchk/>
  398. </temp>
  399. <tmp>
  400. <testcount/>
  401. </tmp>
  402. <source>
  403. <selflag/>
  404. <srchcond/>
  405. <srchpkgflag/>
  406. <srchcdnm/>
  407. <srchhealexamflag/>
  408. <srchhealexamdetlflag/>
  409. <srchinstcd/>
  410. <multiyn/>
  411. <openerid/>
  412. <sex/>
  413. <setflag/>
  414. </source>
  415. <tag/>
  416. </root>
  417. </instance>
  418. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  419. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  420. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  421. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  422. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  423. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  424. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  425. <script type="javascript" src="../../../ast/healexamweb/js/AHA010.js"/>
  426. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  427. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  428. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  429. <script type="javascript" ev:event="xforms-ready">
  430. <![CDATA[
  431. fGetBaseInfo();
  432. fInitInfo();
  433. fInitDate(true);
  434. fInitList();
  435. model.toggle("case_acpt");
  436. fSetBtnStat();
  437. fGetList();
  438. //btn_acpt.disabled = true;
  439. model.refresh();
  440. ]]>
  441. </script>
  442. <submission id="TRAHA00001"/>
  443. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  444. <submission id="TXAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  445. <submission id="TXAHA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
  446. <submission id="TRAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
  447. <submission id="TRAHA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/info"/>
  448. <submission id="TRAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/info/histlst"/>
  449. <submission id="TRAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/pkgtestcdlst"/>
  450. <submission id="TRAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/pamcdlst"/>
  451. <submission id="TRAHA00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/cmpydetlcdlst"/>
  452. <submission id="TRAHB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/detlcodelst"/>
  453. <submission id="TXAHA02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
  454. <submission id="TXAHA02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
  455. <submission id="TXAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tmp" replace="instance" resultref="/root/hidden"/>
  456. <submission id="TRAHA00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rsrvacptkey"/>
  457. <bind id="bind_addtestcd" ref="/root/main/info/acptinfo/addlst/testcd" readonly="../testcdkey!=''"/>
  458. <submission id="TRAHA00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchlst" replace="instance" resultref="/root/main/info/rsrvacptinfo/familylst"/>
  459. <submission id="TRAHA00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/familylst" replace="instance" resultref="/root/hidden/tlst"/>
  460. <submission id="TRAHA00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/familylst" replace="instance" resultref="/root/hidden/tlst"/>
  461. <submission id="TRAHA00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/visanosrch" replace="instance" resultref="/root/main/info/patinfo"/>
  462. <submission id="TXAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" replace="instance" resultref="/root/tmp"/>
  463. <submission id="TRAHA00610" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/visanosrch" replace="instance" resultref="/root/main/info/visalst/item"/>
  464. <submission id="TXAHA00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" resultref="/root/main/info/rcptinfo"/>
  465. <submission id="TRAHA00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  466. <submission id="TRAHA02105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptno_out"/>
  467. <submission id="TRAHA00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/info/pkgdetl"/>
  468. <bind id="bind1" ref="/root/main/list/rsrvlst/statflag"/>
  469. <submission id="TRAHA00509" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/priceamt" replace="instance" resultref="/root/temp"/>
  470. <submission id="TXAHA00012" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
  471. <submission id="TRAHA00014" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/test" replace="instance" resultref="/root/tmp"/>
  472. <submission id="TRAHA00013" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/test" replace="instance" resultref="/root/tmp"/>
  473. <submission id="TRAHA00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/sytsrsrvchk"/>
  474. <submission id="TXAHA00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/temprsrv"/>
  475. </model>
  476. <script type="javascript">
  477. <![CDATA[
  478. function fGetBaseInfo(){
  479. // 건진상세구분
  480. var healexamfg = fGetHealExamFlag();
  481. /*
  482. if( healexamfg == "C") {
  483. zbcfGetCodeList( new Array( "A0069" ),
  484. new Array("/root/init/baseinfo/hedetlflaglst" ) );
  485. }
  486. else {
  487. zbcfGetCodeList( new Array( "A0070" ),
  488. new Array("/root/init/baseinfo/hedetlflaglst" ) );
  489. }
  490. */
  491. zbcfGetCodeList( new Array( "A0070" , "A0117","A0465","P0049","A0107"),
  492. new Array("/root/init/baseinfo/hedetlflaglst"
  493. ,"/root/init/baseinfo/testflag"
  494. ,"/root/init/baseinfo/natiinlst"
  495. ,"/root/init/baseinfo/rsltlst"
  496. , "/root/init/baseinfo/statlst"
  497. ) );
  498. submit("TRZBC00101");
  499. healGetCodeList( new Array("S600")
  500. , new Array("/root/init/baseinfo/healexamplacelst") );
  501. model.removenode("/root/init/baseinfo/healexamplacelst/S600[1]");
  502. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  503. submit("TRAHA00104");
  504. //model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  505. model.setValue("/root/send/clscd", "G" ); //공통코드
  506. model.setValue("/root/send/etccd", "G06"); //비자건진분류코드 Setting
  507. if( submit("TRAHB00602") == true ){
  508. var nodelst = instance1.selectNodes("/root/init/baseinfo/detlcodelst/item");
  509. if( nodelst.length == 1) {
  510. cmb_srchhealexamdetlflag.value = model.getValue("/root/init/baseinfo/detlcodelst/item/etcitemcnts");
  511. }
  512. else if( nodelst.length > 1){
  513. for( var i = 0 ; i < nodelst.length ; i++) {
  514. if( "Y" == model.getValue("/root/init/baseinfo/detlcodelst/item[" + i + "]/useyn") ) {
  515. cmb_srchhealexamdetlflag.value = model.getValue("/root/init/baseinfo/detlcodelst/item[" + i + "]/etcitemcnts");
  516. break;
  517. }
  518. }
  519. }
  520. cmb_healexamdetlflag.value = cmb_srchhealexamdetlflag.value;
  521. }
  522. cmb_healexamdetlflag.refresh();
  523. //cmb_srchhealexamdetlflag.refresh();
  524. //model.setValue("/root/main/info/patinfo/item/brthareacnts","/root/init/baseinfo/natiinlst")
  525. cmb_brthareacnts.refresh();
  526. }
  527. /**
  528. * 리스트내역 초기화
  529. */
  530. function fInitList( ){
  531. model.removeNodeset("/root/main/list/rsrvlst");
  532. model.removeNodeset("/root/main/list/acptlst");
  533. model.removeNodeset("/root/main/list/cncllst");
  534. model.resetInstanceNode("/root/main/list/listinfo");
  535. model.removeNodeset(grd_addlst.nodeset);
  536. }
  537. /*********************************************************
  538. **************가족조회하는 함수***************************
  539. *********************************************************/
  540. function fSrchFamily(){
  541. //등록번호가 들어가야 한다는 에러문
  542. if(ipt_famypid.currentText==""){
  543. messageBox("가족의 등록번호를 입력하셔야 합니다.","C001");
  544. return;
  545. }
  546. //이름이 들어가야 한다는 에러문
  547. if (opt_famypnm.currentText==""){
  548. messageBox("가족의 이름이 등록돼지 않았슴","C001");
  549. return;
  550. }
  551. //가족관계를 입력해야 한다는 에러문
  552. if(cmb_famyrelacd.label=="" && cmb_famyrelacd.value==""){
  553. messageBox("가족관계를 입력하셔야 해요","C001");
  554. return;
  555. }
  556. //바로 행 삽입
  557. grd_family.addRow();
  558. var vgrd_family_row=grd_family.row;
  559. grd_family.valueMatrix(vgrd_family_row,1)="N";
  560. grd_family.valueMatrix(vgrd_family_row,2)=ipt_pid.currentText;
  561. grd_family.valueMatrix(vgrd_family_row,3)=ipt_famypid.currentText;
  562. grd_family.valueMatrix(vgrd_family_row,4)=opt_famypnm.currentText;
  563. grd_family.valueMatrix(vgrd_family_row,5)=cmb_famyrelacd.value;
  564. grd_family.valueMatrix(vgrd_family_row,6)=cmb_famyrelacd.label;
  565. model.refresh();
  566. //ipt_famypid
  567. //opt_famypnm
  568. //cmb_famyrelacd
  569. }
  570. /******************************************************
  571. ************가족코드 삭제******************************
  572. *****************************************************/
  573. function fDelFamily(){
  574. var vgrd_familyRowDel=grd_family.row;
  575. //선택할 행이 없으면
  576. if(vgrd_familyRowDel<0)
  577. return;
  578. //비자건진이 아니면
  579. if(cmb_srchhealexamdetlflag.value!="G02")
  580. return;
  581. //기관코드가 없으면
  582. if(getUserInfo("dutplceinstcd")=="")
  583. return;
  584. if(grd_family.valueMatrix(vgrd_familyRowDel,2)=="" ||
  585. grd_family.valueMatrix(vgrd_familyRowDel,3)=="" ||
  586. grd_family.valueMatrix(vgrd_familyRowDel,4)=="" ||
  587. grd_family.valueMatrix(vgrd_familyRowDel,5)=="" ||
  588. grd_family.valueMatrix(vgrd_familyRowDel,6)=="" ){
  589. messageBox("내용이 없어요","C001");
  590. return;
  591. }
  592. model.setValue("/root/send/familylst/healexamflag",fGetHealExamFlag());
  593. model.setValue("/root/send/familylst/pid",grd_family.valueMatrix(vgrd_familyRowDel,2));
  594. model.setValue("/root/send/familylst/famypid",grd_family.valueMatrix(vgrd_familyRowDel,3));
  595. model.setValue("/root/send/familylst/famyrelcd",grd_family.valueMatrix(vgrd_familyRowDel,5));
  596. model.setValue("/root/send/familylst/instcd",getUserInfo("dutplceinstcd"));
  597. submit("TRAHA00603");
  598. }
  599. /********************************************************
  600. ********비자건진 가족관계 저장***************************
  601. ********************************************************/
  602. function fSaveFamy(){
  603. var vHealexamflag=fGetHealExamFlag();
  604. var vgrd_familyRow=grd_family.row;
  605. //건진구분이 읍을시
  606. if (vHealexamflag=="")
  607. return;
  608. //기관코드가 읍을시
  609. if(getUserInfo("dutplceinstcd")=="")
  610. return;
  611. if(grd_family.valueMatrix(vgrd_familyRow,2)=="" ||
  612. grd_family.valueMatrix(vgrd_familyRow,3)=="" ||
  613. grd_family.valueMatrix(vgrd_familyRow,4)=="" ||
  614. grd_family.valueMatrix(vgrd_familyRow,5)=="" ||
  615. grd_family.valueMatrix(vgrd_familyRow,6)=="" ){
  616. messageBox("입력이 빠졌어요","C001");
  617. return;
  618. }
  619. model.setValue("/root/send/familylst/healexamflag",vHealexamflag);
  620. model.setValue("/root/send/familylst/pid",grd_family.valueMatrix(vgrd_familyRow,2));
  621. model.setValue("/root/send/familylst/famypid",grd_family.valueMatrix(vgrd_familyRow,3));
  622. model.setValue("/root/send/familylst/famynm",grd_family.valueMatrix(vgrd_familyRow,4));
  623. model.setValue("/root/send/familylst/famyrelcd",grd_family.valueMatrix(vgrd_familyRow,5));
  624. model.setValue("/root/send/familylst/instcd",getUserInfo("dutplceinstcd"));
  625. model.setValue("/root/send/familylst/famyrelnm",grd_family.valueMatrix(vgrd_familyRow,6));
  626. //submit("TRAHA00602");
  627. }
  628. /*********************************************************
  629. ***************건진자 가족관계 조회***********************
  630. *********************************************************/
  631. function fSrchFamy(){
  632. //더블클릭한 건진자가 없을 시에
  633. if (ipt_pid.currentText=="")
  634. return;
  635. var vHealexamflag=fGetHealExamFlag();
  636. //건진구분이 없을 시에
  637. if (vHealexamflag=="")
  638. return;
  639. //기관코드가 없을 시에
  640. if (getUserInfo("dutplceinstcd")=="")
  641. return;
  642. model.setValue("/root/send/srchlst/srchfamyhealexamflag",vHealexamflag)
  643. model.setValue("/root/send/srchlst/srchfamypid",ipt_pid.currentText);
  644. model.setValue("/root/send/srchlst/srchfamyinstcd",getUserInfo("dutplceinstcd"));
  645. //submit("TRAHA00601");
  646. }
  647. /**
  648. * 입력정보 초기화
  649. */
  650. function fInitInfo(){
  651. model.resetInstanceNode("/root/main/info/patinfo/item");
  652. model.resetInstanceNode("/root/main/info/visalst/item");
  653. model.resetInstanceNode("/root/main/info/rsrvacptinfo/item");
  654. fInitRsrvAcptInfo();
  655. }
  656. /**
  657. * 접수 정보 초기화
  658. */
  659. function fInitRsrvAcptInfo(){
  660. //model.resetInstanceNode("/root/main/info/rsrvacptinfo/item");
  661. model.resetInstanceNode("/root/main/info/rcptinfo");
  662. model.resetInstanceNode("/root/main/info/rsrvacptinfo/addlst");
  663. model.removeNodeset(grd_addlst.nodeset);
  664. //model.removeNodeset("/root/main/info/rsrvacptinfo/item/visano");
  665. //model.removeNodeset("/root/main/info/visalst/item");
  666. //model.removeNodeset("/root/main/info/histlst/item");
  667. fInitDate(false);
  668. model.setValue( cmb_healexamdetlflag.attribute("ref") , cmb_srchhealexamdetlflag.value );
  669. model.setValue( rdo_visaflag.attribute("ref") , "M");
  670. model.setValue(cmb_pkguncocd.attribute("ref"), "V01" );
  671. model.setFocus("ipt_rgstno1");
  672. rdo_healexamplacecd.refresh();
  673. if(rdo_healexamplacecd.value != "" ) {
  674. rdo_healexamplacecd.dispatch("xforms-select"); // 건진장소 default 셋팅
  675. }else {
  676. rdo_healexamplacecd.select(1); // 건진장소 default 셋팅
  677. }
  678. }
  679. /**
  680. * 일자내역 초기화
  681. *bSrchDt : 조회일자초기화여부
  682. */
  683. function fInitDate(bSrchDt){
  684. var cur_date = getCurrentDate();
  685. model.setValue( ipt_orddd.attribute("ref") , cur_date);
  686. model.setValue( ipt_rsrvdd.attribute("ref") , cur_date);
  687. out_engnm.value = ipt_engnm.value;
  688. if( bSrchDt ) {
  689. model.setValue( ipt_srchtodd.attribute("ref") , cur_date);
  690. model.setValue( ipt_srchfromdd.attribute("ref") , cur_date);
  691. }
  692. }
  693. /**
  694. * 버튼상태 setting
  695. */
  696. function fSetBtnStat(){
  697. btn_rcpt.disabled = false;
  698. btn_rsrvcfm1.disabled = true;
  699. btn_rsrvcfm2.disabled = true;
  700. btn_acpt.disabled = true;
  701. btn_acptcncl.disabled = true;
  702. btn_rsrvcncl.disabled = true;
  703. var vStat = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
  704. //if(isXPathTextNull("/root/main/info/rsrvacptinfo/item/statflag") ) return ;
  705. //alert( vStat );
  706. if ( vStat == "C" ){
  707. btn_rsrvcfm1.disabled = false;
  708. btn_rsrvcfm2.disabled = false;
  709. btn_rsrvcncl.disabled = false;
  710. btn_acpt.disabled = false;
  711. }
  712. else
  713. if( vStat == "D"){
  714. btn_rsrvcfm1.disabled = false;
  715. btn_rsrvcfm2.disabled = false;
  716. btn_acpt.disabled = false;
  717. }
  718. else
  719. if( vStat == "E" ){
  720. btn_acptcncl.disabled = false;
  721. btn_acpt.disabled = true;
  722. }
  723. else
  724. if( vStat == "F" ){
  725. btn_rsrvcfm1.disabled = false;
  726. btn_rsrvcfm2.disabled = false;
  727. btn_acptcncl.disabled = true;
  728. btn_acpt.disabled = true;
  729. }
  730. else
  731. if( vStat == "G" ){
  732. btn_acptcncl.disabled = true;
  733. btn_acpt.disabled = true;
  734. }
  735. else {
  736. btn_rsrvcfm1.disabled = false;
  737. btn_rsrvcfm2.disabled = false;
  738. btn_acpt.disabled = false;
  739. }
  740. model.refresh();
  741. }
  742. /***************************************************************
  743. ********************비자년번호따오는 함수***********************
  744. ***************************************************************/
  745. function fGetVisano(){
  746. var vCutVisa,vCopyVisa,vGetDD,vRetNo;
  747. vGetDD=getCurrentDate();
  748. //년도만 짤라냄
  749. vGetDD=vGetDD.substring(0,4);
  750. //20070000이런 식으로 나옴
  751. vGetDD=vGetDD.getRightPad(8,"0");
  752. model.setValue("/root/send/visanosrch/genrdd",vGetDD);
  753. model.setValue("/root/send/visanosrch/genrkind","V");
  754. model.setValue("/root/send/visanosrch/instcd",getUserInfo("dutplceinstcd"));
  755. submit("TRAHA00610");
  756. vRetNo=model.getValue("/root/main/info/visalst/item/visano");
  757. //model.removeNodeset("/root/main/info/rsrvacptinfo/item/visano");
  758. //model.resetInstanceNode("/root/main/info/rsrvacptinfo/item/visano");
  759. //fCheckNodeExist("/root/main/info/rsrvacptinfo/item/visano",true);
  760. model.setValue("/root/main/info/rsrvacptinfo/item/visano",vRetNo);
  761. model.refresh();
  762. }
  763. /**
  764. * 예약/예약등록/접수/취소/보류 리스트 조회
  765. * 예약등록의 경우 예약등록일자 기준.
  766. * 예약등록일 = 가예약 + 예약
  767. * 예약 = 예약
  768. */
  769. function fGetList(){
  770. fInitList();
  771. if( isXPathTextNull( "/root/send/srchhealexamdetlflag") ||
  772. isXPathTextNull( "/root/send/srchtodd") ||
  773. isXPathTextNull( "/root/send/srchfromdd")) return ;
  774. model.setValue("/root/send/srchhealexamflag", fGetHealExamFlag());
  775. var vMode = fGetSrchMode();
  776. model.setValue("/root/send/srchmode", vMode );
  777. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  778. model.setValue("/root/send/srchvisano",ipt_srch_visano.currentText)
  779. openLoadingBar("건진자 리스트를 가져오는 중입니다..") ;//처리중 화면을 오픈한다.
  780. submit("TRAHA00203");
  781. closeLoadingBar() ;//처리중 화면을 close한다.
  782. }
  783. /** =====================================================================================================================================================================
  784. * SPAHA00100_PARAM1 : 예약조회구분 [건진전체(T), 검사실(R), 상담의별 결과상담(C)]
  785. * SPAHA00100_PARAM2 : 예약일자
  786. * SPAHA00100_PARAM3 : 성별구분(종건예약일정)
  787. * SPAHA00100_PARAM4 : 예약일자가 setting될 부모 node
  788. * SPAHA00100_PARAM5 : 예약시간 setting될 부모 node
  789. * SPAHA00100_PARAM6 : 건진구분
  790. * ================================================================================================================================================*/
  791. function fGetRsrvDateTime(vMode, rsrvddObj, rsrvtmObj){
  792. setParameter ("SPAHA00100_PARAM1", vMode);
  793. setParameter ("SPAHA00100_PARAM2", ipt_rsrvdd.value );
  794. setParameter ("SPAHA00100_PARAM3", opt_sex.value );
  795. if( rsrvddObj != null ) setParameter ("SPAHA00100_PARAM4", rsrvddObj.attribute("ref") );
  796. if( rsrvtmObj != null ) setParameter ("SPAHA00100_PARAM5", rsrvtmObj.attribute("ref") );
  797. setParameter ("SPAHA00100_PARAM6", fGetHealExamFlag() );
  798. setParameter ("SPAHA00100_PARAM7", "/root/main/info/rsrvacptinfo/item/rsltcnstdrid" );
  799. setParameter ("SPAHA00100_PARAM8", cmb_healexamdetlflag.value);
  800. modal("SPAHA00100", "", "", "", "SPAHA00100", "/root/source","/root/target");
  801. }
  802. /**
  803. *1:예약, 2:예약등록, 3:접수, 4: 취소및보류, 5: 예약취소, 6: 접수취소, 7:보류
  804. */
  805. function fGetSrchMode(){
  806. var idx = swt_acptlst.selectedIndex ;
  807. if( idx == 0) {
  808. idx = 3;
  809. }
  810. else
  811. if( idx == 1 ){
  812. idx = 1;
  813. }
  814. if(idx == 2){
  815. return rdo_cnclmode.value ;
  816. }
  817. return idx;
  818. }
  819. /**
  820. * 예약/접수정보 check.
  821. */
  822. function fCheckAcpt(vMode){
  823. var vRsvdd = "";
  824. var vStatus = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
  825. //예약/예약확인/예약보류
  826. //if( !isRequiredGroup("rdo_visaflag", "ipt_pkgcd") ) return false;
  827. if( model.getValue(rdo_visaflag.attribute("ref") ) == "" ) {
  828. messageBox("비자구분을 ", "C001");
  829. model.setFocus("rdo_visaflag");
  830. return false;
  831. }
  832. if( model.getValue(rdo_visaflag.attribute("ref") ) == "" ) {
  833. messageBox("패키지를 ", "C001");
  834. model.setFocus("ipt_pkgcd");
  835. return false;
  836. }
  837. if( model.getValue(cmb_pkguncocd.attribute("ref")) == "" ){
  838. messageBox("청구구분을 ", "C001");
  839. model.setFocus("cmb_pkguncocd");
  840. return false;
  841. }
  842. if( (vMode == "C") ){
  843. if( !isRequiredGroup("ipt_rsrvdd") ) return false;
  844. vRsvdd = model.getValue("/root/main/info/rsrvacptinfo/item/hopedd");
  845. vRsvdd = vRsvdd.toDate("YYYYMMDD");
  846. if( vRsvdd < getCurrentDate() ){
  847. messageBox("예약일자가 현재일자 전으로 ", "E005");
  848. model.setFocus("ipt_rsrvdd");
  849. return false;
  850. }
  851. }
  852. //접수시
  853. else
  854. if( vMode == "E" ){
  855. model.setValue("/root/main/info/rsrvacptinfo/item/orddd", getCurrentDate());
  856. }
  857. //예약및접수취소시(D,F)
  858. else
  859. if( vMode == "D" ){
  860. if( vStatus != "C" ){
  861. messageBox("예약상태가 아닌 항목은 예약취소 ", "E001");
  862. return false;
  863. }
  864. }
  865. else
  866. if( vMode == "F" ){
  867. if( vStatus != "E"){
  868. messageBox("접수상태가 아닌 항목은 접수취소 ", "E001");
  869. return false;
  870. }
  871. }
  872. return true;
  873. }
  874. /**
  875. * 건진내역 계산
  876. 건진구분 :srchhealexamflag
  877. 예약일자 :srchrsrvdd
  878. 예약번호 :srchrsrvno
  879. 등록번호 :srchpid
  880. 기관코드 :srchinstcd
  881. */ function fCalcAmt(vJobFlag){
  882. var ret = -1;
  883. var vTmp = fGetHealExamFlag();
  884. if( vTmp == "" ) return ret;
  885. model.setValue("/root/send/srchhealexamflag", vTmp );
  886. vTmp = model.getValue(ipt_pid.attribute("ref"));
  887. if( vTmp == "" ) return ret;
  888. model.setValue("/root/send/srchpid", vTmp );
  889. vTmp = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd");
  890. if( vTmp== "" ) return ret;
  891. model.setValue("/root/send/srchrsrvdd", vTmp );
  892. vTmp = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno");
  893. if( vTmp == "" ) return ret;
  894. model.setValue("/root/send/srchrsrvno", vTmp );
  895. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd"));
  896. model.setValue("/root/send/srchjobflag" ,vJobFlag);
  897. var sNd = "/root/temp/rcptinfo/hidden/opmi_out";
  898. model.resetInstanceNode(sNd);
  899. sNd = sNd + "/";
  900. openLoadingBar("수납예상내역 계산 중입니다..") ;//처리중 화면을 오픈한다.
  901. if( submit("TXAHA02101") == true ){
  902. model.setValue(opt_pkgamt.attribute("ref") , model.getValue( sNd + "opmi_baseexamamt"));
  903. model.setValue(opt_addamt.attribute("ref") , model.getValue( sNd + "opmi_addexamamt"));
  904. model.setValue(opt_totamt.attribute("ref") , model.getValue( sNd + "opmi_totamt"));
  905. model.refresh();
  906. ret = 1;
  907. }
  908. closeLoadingBar() ;//처리중 화면을 close한다.
  909. return ret;
  910. }
  911. /**
  912. **건진자번호로 예약/접수 상세정보
  913. */
  914. function fGetDetlInfoHid(){
  915. var sHealExamPid = model.getValue("/root/main/info/patinfo/item/healexampid");
  916. if( sHealExamPid != "" ){
  917. var vHealExamDetlFg = model.getValue(cmb_healexamdetlflag.attribute("ref") );
  918. ahafGetRsrvAcpDetltInfoWithPid(vHealExamDetlFg, sHealExamPid);
  919. }
  920. }
  921. /**
  922. ** 국가와 나이에 따라 메세지 처리
  923. * vMode: True 일때 패키지 체크 False일때 체크 않함
  924. */
  925. function fMessageChk(vMode) {
  926. var vBrthArea = model.getValue("/root/main/info/rsrvacptinfo/item/brthareacnts");
  927. var vAge = model.getValue("/root/main/info/patinfo/item/age");
  928. var vSex = model.getValue("/root/main/info/patinfo/item/sex");
  929. var vRrgstno1 = model.getValue("/root/main/info/patinfo/item/rgstno1");
  930. var vRrgstno2 = model.getValue("/root/main/info/patinfo/item/rgstno2");
  931. var vPkg = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  932. vAge = vAge != "" ? vAge : getFullAge(rpad(vRrgstno1,6,'0') + rpad(vRrgstno2,7,'0'));
  933. vSex = vSex != "" ? vSex : getGender(rpad(vRrgstno1,6,'0') + rpad(vRrgstno2,7,'0'));
  934. if(vMode) {
  935. }else {
  936. //나이 70세 이상이면서 호주일시 활성창
  937. if( (vPkg == "VPCDAVM" && vAge >=70) || (vPkg == "VPCDAVA" && vAge >=70)){
  938. messageBox("심전도 검사를 받아야 하는 건진자","E008");
  939. }
  940. //나이 2세 미만이면서 호주일 경우 선택 하시오
  941. if((vPkg == "VPCDASC" && vAge < 2) || (vPkg == "VPCDAEC" && vAge < 2)){
  942. messageBox("머리둘레측정을 받아야 하는 건진자","E008");
  943. }
  944. //나이 3세 미만이면서 뉴질랜드일 경우 활성창 뜨기
  945. if(vPkg == "VPCDNEB" && vAge < 3){
  946. messageBox("머리둘레측정을 받아야 하는 건진자","E008");
  947. }
  948. //20세 이상 뉴질랜드 선택시
  949. //if(vAge >=20 && vBrthArea == "NZ"){
  950. if((vPkg == "VPCDNEAB" && vAge >=20) || (vPkg == "VPCDNEAA" && vAge >=20)){
  951. messageBox("허리둘레측정을 받아야 하는 건진자","E008");
  952. }
  953. //45세 이상 여자 뉴질랜드 선택시
  954. if((vPkg == "VPCDNEAB" && vAge >=45 && vSex == "F") || (vPkg == "VPCDNEAA" && vAge >=45 && vSex == "F")){
  955. messageBox("유방촬영검사를 받아야 하는 건진자","E008");
  956. }
  957. }
  958. }
  959. /*********************************************************
  960. * 원하는 길이만큼 오른쪽으로 문자채움
  961. *******************************************************/
  962. function rpad(newValue, len, ch){
  963. // 오른쪽에 ch문자로 채우기
  964. var strlen = newValue.getTrim().length;
  965. var ret = "" ;
  966. var alen = len - strlen;
  967. var astr = "";
  968. //부족한 숫자만큼 len 크기로 ch 문자로 채우기
  969. for (i=0; i<alen; ++i)
  970. {
  971. astr = astr + ch;
  972. }
  973. ret = newValue.getTrim() + astr; //뒤에서 채우기
  974. return ret;
  975. }
  976. /****************************************************
  977. * 가예약자 일괄 취소
  978. *****************************************************/
  979. function fDelAllTempRsrv() {
  980. for(var i=0; i < grd_rsrvlst.rows; i++) {
  981. var statFlag = grd_rsrvlst.valueMatrix( i , grd_rsrvlst.colRef("statflag") );
  982. if(statFlag == "A") {
  983. grd_rsrvlst.addStatus( i , "delete");
  984. }
  985. }
  986. model.setValue("/root/send/savetemprsrv" , grd_rsrvlst.getUpdateData());
  987. var ret = messageBox("가예약일괄 취소를","Q004")
  988. if(ret == 6) {
  989. if(submit("TXAHA00114")) {
  990. fGetList();
  991. grd_rsrvlst.clearStatus();
  992. }
  993. }else if(ret == 7) {
  994. grd_rsrvlst.clearStatus();
  995. }
  996. }
  997. ]]>
  998. </script>
  999. </xhtml:head>
  1000. <xhtml:body guideline="1,1198;2,785;2,759;">
  1001. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  1002. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:210px; height:13px; ">VISA등록</caption>
  1003. </group>
  1004. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  1005. <button id="btn_rslt" class="btn3_letter4" style="left:5px; top:4px; width:92px; height:22px; ">
  1006. <caption>결과조회</caption>
  1007. <script type="javascript" ev:event="DOMActivate">
  1008. <![CDATA[
  1009. open("SMAHR00700_검사결과관리[비자건진].xrw");
  1010. ]]>
  1011. </script>
  1012. </button>
  1013. <button id="btn_visastat" class="btn6_letter5" visibility="hidden" style="left:190px; top:4px; width:92px; height:22px; ">
  1014. <caption>비자통계</caption>
  1015. </button>
  1016. <button id="btn_testrsrv" class="btn3_letter6" style="left:85px; top:4px; width:104px; height:22px; ">
  1017. <caption>외래검사예약</caption>
  1018. <script type="javascript" ev:event="onclick">
  1019. <![CDATA[
  1020. aezfPopUpRsrvSample("SMAEA02000", "", "/root/main/info/rsrvacptinfo/item");
  1021. ]]>
  1022. </script>
  1023. </button>
  1024. <button id="btn_clear" class="btn4_letter3" style="left:749px; top:4px; width:68px; height:22px; ">
  1025. <caption>초기화</caption>
  1026. <script type="javascript" ev:event="DOMActivate">
  1027. <![CDATA[
  1028. fInitInfo();
  1029. fSetBtnStat();
  1030. ]]>
  1031. </script>
  1032. </button>
  1033. <button id="btn_rsrvcncl" class="btn4_letter4" style="left:879px; top:4px; width:80px; height:22px; ">
  1034. <caption>예약취소</caption>
  1035. <script type="javascript" ev:event="DOMActivate">
  1036. <![CDATA[
  1037. if(model.getValue("/root/main/info/patinfo/item/hngnm") == "") {
  1038. model.setValue("/root/main/info/patinfo/item/hngnm", model.getValue("/root/main/info/patinfo/item/engnm"));
  1039. }
  1040. // fSaveRsrvAcpt("D");
  1041. fSaveRsrvAcptPro("D");
  1042. ]]>
  1043. </script>
  1044. </button>
  1045. <button id="btn_acpt" class="btn4_letter2" style="left:997px; top:4px; width:56px; height:22px; ">
  1046. <caption>접수</caption>
  1047. <script type="javascript" ev:event="DOMActivate">
  1048. <![CDATA[
  1049. fInitDate(true);
  1050. //연번이 입력되지 않았을때
  1051. /*
  1052. if(ipt_visayear.currentText==""){
  1053. messageBox("연번이 입력되지","I001");
  1054. return;
  1055. }
  1056. */
  1057. //주민번호나 이름이 입력이 되지 않았을때
  1058. if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
  1059. messageBox("이름또는 주민번호를 ","I001");
  1060. return;
  1061. }
  1062. //패키지가 입력되지 않았을때
  1063. if(ipt_pkgcd.value=="" || opt_pkgnm.value==""){
  1064. messageBox("패키지를 ", "C001");
  1065. return;
  1066. }
  1067. //model.setValue("/root/main/info/rsrvacptinfo/item/visano","/root/main/info/visalst/item/visano");
  1068. if(ipt_visayear.currentText=="")
  1069. btn_no.dispatch("DOMActivate");
  1070. //일검 비자 처리시
  1071. //fSaveRsrvAcptVisa("E");
  1072. //종건접수시에 처리하는것
  1073. //fSaveRsrvVisaAcpt("E");
  1074. //fSaveRsrvAcpt("E");
  1075. fSaveRsrvAcptPro("E");
  1076. fGetList();
  1077. ]]>
  1078. </script>
  1079. </button>
  1080. <button id="btn_acptcncl" class="btn4_letter4" style="left:1056px; top:4px; width:80px; height:22px; ">
  1081. <caption>접수취소</caption>
  1082. <script type="javascript" ev:event="DOMActivate">
  1083. <![CDATA[
  1084. //alert("현재 접수취소는 불가합니다. \n접수취소를 원하시면 처방관리화면에서 처방 전체를 반환해주세요.");
  1085. fSaveRsrvAcptPro("F");
  1086. ]]>
  1087. </script>
  1088. </button>
  1089. <button id="btn_rcpt" class="btn4_letter2" style="left:1139px; top:4px; width:56px; height:22px; ">
  1090. <caption>수납</caption>
  1091. <script type="javascript" ev:event="DOMActivate">
  1092. <![CDATA[
  1093. //주민번호나 이름이 입력이 되지 않았을때
  1094. if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
  1095. messageBox("이름또는 주민번호를","I001");
  1096. return;
  1097. }
  1098. //패키지가 입력되지 않았을때
  1099. if(ipt_pkgcd.value=="" || opt_pkgnm.value==""){
  1100. messageBox("패키지를 ", "C001");
  1101. return;
  1102. }
  1103. // 20100727 JHP 수납조회 기준일자를 orddd에서 hopedd로 변경함.
  1104. ahafOpenRcpt( fGetHealExamFlag()
  1105. , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd")
  1106. , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno")
  1107. , model.getValue("/root/main/info/patinfo/item/pid")
  1108. , model.getValue("/root/main/info/rsrvacptinfo/item/rcptstat")
  1109. , model.getValue("/root/main/info/rsrvacptinfo/item/hopedd" ) );
  1110. ]]>
  1111. </script>
  1112. </button>
  1113. <button id="btn_rsrvcfm1" class="btn4_letter2" style="left:820px; top:4px; width:56px; height:22px; ">
  1114. <caption>예약</caption>
  1115. <script type="javascript" ev:event="DOMActivate">
  1116. <![CDATA[
  1117. //예약에는 연번이 발생하면 안됨
  1118. //연번이 입력되지 않았을 때
  1119. /*
  1120. btn_no.dispatch("DOMActivate");
  1121. if(ipt_visayear.currentText==""){
  1122. messageBox("연번이 입려되지","I001");
  1123. return;
  1124. } */
  1125. //주민번호나 이름이 입력이 되지 않았을때
  1126. if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
  1127. messageBox("이름또는 주민번호를","I001");
  1128. return;
  1129. }
  1130. //패키지가 입력되지 않았을때
  1131. if(ipt_pkgcd.value=="" || opt_pkgnm.value==""){
  1132. messageBox("패키지를 ", "C001");
  1133. return;
  1134. }
  1135. //model.setValue("/root/main/info/rsrvacptinfo/item/visano",ipt_visayear.currentText);
  1136. // fSaveRsrvVisaAcpt("C");
  1137. if (model.getValue("/root/main/info/rsrvacptinfo/item/rsrvtm") ==""){
  1138. messageBox("예약시간을 ", "C001");
  1139. btn_totrsrvdt.dispatch("DOMActivate");
  1140. }
  1141. model.makeValue("/root/main/info/patinfo/item/hopedd",model.getValue("/root/main/info/rsrvacptinfo/item/hopedd"));
  1142. if(model.getValue("/root/main/info/rsrvacptinfo/item/rsrvtm") !="") {
  1143. fSaveRsrvAcptPro("C");
  1144. fGetList();
  1145. }
  1146. ]]>
  1147. </script>
  1148. </button>
  1149. <button id="btn_rsrvcfm2" class="btn4_letter2" visibility="hidden" style="left:690px; top:4px; width:56px; height:22px; ">
  1150. <caption>저장</caption>
  1151. <script type="javascript" ev:event="DOMActivate">
  1152. <![CDATA[
  1153. /*
  1154. //연번이 입력되지 않았을 때
  1155. if(ipt_visayear.currentText==""){
  1156. messageBox("연번이 입력되지","I001");
  1157. return;
  1158. }
  1159. */
  1160. //주민번호나 이름이 입력이 되지 않았을때
  1161. if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
  1162. messageBox("이름또는 주민번호가 입력되지","I001");
  1163. return;
  1164. }
  1165. // fSaveRsrvAcpt("C");
  1166. fSaveRsrvAcptPro("C");
  1167. ]]>
  1168. </script>
  1169. </button>
  1170. <button id="button8" class="btn4_letter7" style="left:630px; top:4px; width:116px; height:22px; ">
  1171. <caption>가예약일괄취소</caption>
  1172. <script type="javascript" ev:event="DOMActivate">
  1173. <![CDATA[
  1174. fDelAllTempRsrv();
  1175. ]]>
  1176. </script>
  1177. </button>
  1178. </group>
  1179. <group id="group1" scroll="auto" style="left:0px; top:13px; width:1200px; height:744px; ">
  1180. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  1181. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  1182. <caption id="caption3" class="search_name" style="left:571px; top:8px; width:89px; height:17px; ">환자검색 :</caption>
  1183. <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  1184. <caption>조회</caption>
  1185. <script type="javascript" ev:event="DOMActivate">
  1186. <![CDATA[
  1187. fGetList();
  1188. ]]>
  1189. </script>
  1190. </button>
  1191. <line id="line7" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  1192. <input id="ipt_srchpid" ref="/root/send/srchpid2" class="input_search" style="left:660px; top:8px; width:170px; height:19px; "/>
  1193. <caption id="caption7" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">건진일자 :</caption>
  1194. <button id="button11" class="icon_search" style="left:835px; top:10px; width:16px; height:16px; ">
  1195. <caption/>
  1196. </button>
  1197. <output id="output7" ref="/root/send/srchpnm2" class="output_fix" style="left:855px; top:8px; width:235px; height:19px; "/>
  1198. <caption id="caption20" class="search_name" style="left:331px; top:8px; width:86px; height:17px; ">검진구분 :</caption>
  1199. <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" disabled="true" appearance="minimal" style="left:420px; top:8px; width:110px; height:19px; ">
  1200. <choices>
  1201. <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
  1202. <label ref="cdnm"/>
  1203. <value ref="cdid"/>
  1204. </itemset>
  1205. </choices>
  1206. <script type="javascript" ev:event="xforms-select">
  1207. <![CDATA[
  1208. cmb_healexamdetlflag.value= cmb_srchhealexamdetlflag.value ;
  1209. ]]>
  1210. </script>
  1211. </select1>
  1212. <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:92px; top:8px; width:100px; height:19px; "/>
  1213. <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:8px; width:100px; height:19px; "/>
  1214. <caption id="caption34" class="search_n_b" style="left:196px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  1215. </group>
  1216. <line id="line8" class="line_2" style="x1:310px; y1:715px; x2:1190px; y2:715px; "/>
  1217. <caption id="caption22" class="cell_1" visibility="hidden" style="left:1021px; top:705px; width:50px; height:23px; vertical-align:middle; ">합계</caption>
  1218. <caption id="caption23" class="cell_1" style="left:310px; top:705px; width:55px; height:23px; vertical-align:middle; ">특이사항</caption>
  1219. <output id="opt_totamt" ref="/root/main/info/rcptinfo/totamt" class="output_fix" visibility="hidden" format="#,###" style="left:1074px; top:707px; width:115px; height:19px; text-align:right; "/>
  1220. <button id="btn_acptlst" class="btn_sw" group="tab" selected="true" style="left:0px; top:49px; width:60px; height:22px; ">
  1221. <caption>접수</caption>
  1222. <script type="javascript" ev:event="DOMActivate">
  1223. <![CDATA[
  1224. model.toggle("case_acpt");
  1225. fGetList();
  1226. ]]>
  1227. </script>
  1228. </button>
  1229. <button id="btn_rsrvlst" class="btn_sw" group="tab" style="left:59px; top:49px; width:60px; height:22px; ">
  1230. <caption>예약</caption>
  1231. <script type="javascript" ev:event="DOMActivate">
  1232. <![CDATA[
  1233. model.toggle("case_rsrv");
  1234. fGetList();
  1235. ]]>
  1236. </script>
  1237. </button>
  1238. <output id="output15" ref="/root/main/list/listinfo/rcptcnt" class="output_fix" visibility="hidden" style="left:38px; top:718px; width:65px; height:19px; "/>
  1239. <caption id="caption60" class="cell_1" style="left:106px; top:696px; width:35px; height:23px; vertical-align:middle; ">예약</caption>
  1240. <line id="line28" class="line_2" style="x1:0px; y1:714px; x2:305px; y2:714px; "/>
  1241. <caption id="caption61" class="cell_1" style="left:0px; top:696px; width:35px; height:23px; vertical-align:middle; ">접수</caption>
  1242. <caption id="caption62" class="cell_1" style="left:212px; top:696px; width:35px; height:23px; vertical-align:middle; ">취소</caption>
  1243. <caption id="caption63" class="cell_1" visibility="hidden" style="left:106px; top:716px; width:35px; height:23px; vertical-align:middle; ">보류</caption>
  1244. <output id="output17" ref="/root/main/list/listinfo/rsrvcnt" class="output_fix" style="left:144px; top:698px; width:65px; height:19px; "/>
  1245. <caption id="caption64" class="cell_1" visibility="hidden" style="left:0px; top:716px; width:35px; height:23px; vertical-align:middle; ">수납</caption>
  1246. <output id="output19" ref="/root/main/list/listinfo/cnclcnt" class="output_fix" style="left:250px; top:698px; width:55px; height:19px; "/>
  1247. <output id="output20" ref="/root/main/list/listinfo/holdcnt" class="output_fix" visibility="hidden" style="left:144px; top:718px; width:65px; height:19px; "/>
  1248. <line id="line29" class="line_3" style="x1:0px; y1:723px; x2:305px; y2:723px; "/>
  1249. <output id="output21" ref="/root/main/list/listinfo/acptcnt" class="output_fix" style="left:38px; top:698px; width:65px; height:19px; "/>
  1250. <output id="output22" ref="/root/main/list/listinfo/outcnt" class="output_fix" visibility="hidden" style="left:250px; top:718px; width:55px; height:19px; "/>
  1251. <caption id="caption65" class="cell_1" visibility="hidden" style="left:212px; top:716px; width:35px; height:23px; vertical-align:middle; ">부도</caption>
  1252. <textarea id="tar_remcnts" ref="/root/main/info/rsrvacptinfo/item/remcnts" maxlength="500" style="left:368px; top:707px; width:817px; height:19px; "/>
  1253. <button id="btn_cncllst" class="btn_sw" group="tab" style="left:119px; top:49px; width:60px; height:22px; ">
  1254. <caption>취소</caption>
  1255. <script type="javascript" ev:event="DOMActivate">
  1256. <![CDATA[
  1257. model.toggle("case_cncl");
  1258. fGetList();
  1259. ]]>
  1260. </script>
  1261. </button>
  1262. <button id="btn_grdsize" class="btn2_letter3" visibility="visible" style="left:245px; top:50px; width:53px; height:19px; ">
  1263. <caption>펼치기</caption>
  1264. <script type="javascript" ev:event="DOMActivate">
  1265. <![CDATA[
  1266. if( btn_grdsize.attribute("text") == "펼치기"){
  1267. group5.visible=false;
  1268. btn_grdsize.attribute("text") = "줄이기";
  1269. swt_acptlst.attribute("width") = parseInt(swt_acptlst.attribute("width"))+parseInt(swt_visa.attribute("width") );
  1270. grd_acptlst.attribute("width") = parseInt(grd_acptlst.attribute("width")) + parseInt(swt_visa.attribute("width")) ;
  1271. grd_rsrvlst.attribute("width") = parseInt(grd_rsrvlst.attribute("width")) + parseInt(swt_visa.attribute("width")) ;
  1272. grd_cncllst.attribute("width") = parseInt(grd_cncllst.attribute("width")) + parseInt(swt_visa.attribute("width")) ;
  1273. //swt_acptlst.attribute("width") = parseInt(swt_acptlst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
  1274. //grd_acptlst.attribute("width") = parseInt(grd_acptlst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
  1275. //grd_rsrvlst.attribute("width") = parseInt(grd_rsrvlst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
  1276. //grd_cncllst.attribute("width") = parseInt(grd_cncllst.attribute("width")) + parseInt(swt_visa.attribute("width") ) ;
  1277. }
  1278. else {
  1279. btn_grdsize.attribute("text") ="펼치기";
  1280. swt_acptlst.attribute("width") = parseInt(swt_acptlst.attribute("width"))-parseInt(swt_visa.attribute("width") );
  1281. grd_rsrvlst.attribute("width") = parseInt(grd_rsrvlst.attribute("width")) - parseInt(swt_visa.attribute("width") ) ;
  1282. grd_cncllst.attribute("width") = parseInt(grd_cncllst.attribute("width")) - parseInt(swt_visa.attribute("width") );
  1283. grd_acptlst.attribute("width") = parseInt(grd_acptlst.attribute("width")) - parseInt(swt_visa.attribute("width") ) ;
  1284. group5.visible=true;
  1285. }
  1286. ]]>
  1287. </script>
  1288. </button>
  1289. <button id="button1" class="btn_sw" group="tab" selected="true" style="left:0px; top:49px; width:60px; height:22px; ">
  1290. <caption>접수</caption>
  1291. <script type="javascript" ev:event="DOMActivate">
  1292. <![CDATA[
  1293. model.toggle("case_acpt");
  1294. //예약이 아닐시에 사용할수 없게 만듬
  1295. ipt_rsrvtm.disabled=true;
  1296. btn_totrsrvdt.disabled=true;
  1297. fGetList();
  1298. //btn_acpt.disabled = true;
  1299. model.refresh();
  1300. ]]>
  1301. </script>
  1302. </button>
  1303. <button id="button4" class="btn_sw" group="tab" style="left:119px; top:49px; width:60px; height:22px; ">
  1304. <caption>취소</caption>
  1305. <script type="javascript" ev:event="DOMActivate">
  1306. <![CDATA[
  1307. model.toggle("case_cncl");
  1308. //예약이 아닐 시에 사용할 수 없게 만듬
  1309. ipt_rsrvtm.disabled=true;
  1310. btn_totrsrvdt.disabled=true;
  1311. fGetList();
  1312. //btn_acpt.disabled = false;
  1313. model.refresh();
  1314. ]]>
  1315. </script>
  1316. </button>
  1317. <button id="button5" class="btn_sw" group="tab" style="left:59px; top:49px; width:60px; height:22px; ">
  1318. <caption>예약</caption>
  1319. <script type="javascript" ev:event="DOMActivate">
  1320. <![CDATA[
  1321. model.toggle("case_rsrv");
  1322. //예약시 컨트롤 사용가능하게
  1323. ipt_rsrvtm.disabled=false;
  1324. btn_totrsrvdt.disabled=false;
  1325. fGetList();
  1326. //btn_acpt.disabled = false;
  1327. model.refresh();
  1328. ]]>
  1329. </script>
  1330. </button>
  1331. <group id="group3" style="left:2px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  1332. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  1333. <caption id="caption5" class="search_name" style="left:521px; top:8px; width:89px; height:17px; ">환자검색 :</caption>
  1334. <button id="button6" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  1335. <caption>조회</caption>
  1336. <script type="javascript" ev:event="DOMActivate">
  1337. <![CDATA[
  1338. fGetList();
  1339. ]]>
  1340. </script>
  1341. </button>
  1342. <line id="line4" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  1343. <input id="srch_pid" ref="/root/send/srchpid2" class="input_search" style="left:615px; top:8px; width:100px; height:19px; "/>
  1344. <caption id="caption10" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">건진일자 :</caption>
  1345. <button id="button7" class="icon_search" style="left:720px; top:10px; width:16px; height:16px; ">
  1346. <caption/>
  1347. <script type="javascript" ev:event="DOMActivate">
  1348. <![CDATA[
  1349. fSearchPatInfo("SMAHA00600", "rgstno", srch_pid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref") );
  1350. ]]>
  1351. </script>
  1352. </button>
  1353. <output id="opt_srchpnm" ref="/root/send/srchpnm2" class="output_fix" style="left:740px; top:8px; width:140px; height:19px; "/>
  1354. <caption id="caption13" class="search_name" style="left:321px; top:8px; width:86px; height:17px; ">검진구분 :</caption>
  1355. <select1 id="combo1" ref="/root/send/srchhealexamdetlflag" class="combo_search" disabled="true" appearance="minimal" style="left:410px; top:8px; width:105px; height:19px; ">
  1356. <choices>
  1357. <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
  1358. <label ref="cdnm"/>
  1359. <value ref="cdid"/>
  1360. </itemset>
  1361. </choices>
  1362. <script type="javascript" ev:event="xforms-select">
  1363. <![CDATA[
  1364. cmb_healexamdetlflag.value= cmb_srchhealexamdetlflag.value ;
  1365. ]]>
  1366. </script>
  1367. </select1>
  1368. <input id="input2" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:92px; top:8px; width:100px; height:19px; "/>
  1369. <input id="input3" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:8px; width:100px; height:19px; "/>
  1370. <caption id="caption14" class="search_n_b" style="left:196px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  1371. <caption id="caption17" class="search_name" style="left:886px; top:8px; width:89px; height:17px; ">년번검색 :</caption>
  1372. <input id="ipt_srch_visano" ref="/root/send/srchvisano" class="input_search" style="left:990px; top:8px; width:105px; height:19px; "/>
  1373. </group>
  1374. <group id="group5" style="left:305px; top:50px; width:885px; height:630px; ">
  1375. <button id="btn_histlst" class="btn_sw" group="tab" style="left:185px; top:225px; width:74px; height:22px; ">
  1376. <caption>건진이력</caption>
  1377. <script type="javascript" ev:event="DOMActivate">
  1378. <![CDATA[
  1379. model.toggle("case_hist" );
  1380. ahafGetHistList(ipt_pid.value);
  1381. ]]>
  1382. </script>
  1383. </button>
  1384. <button id="btn_searchzipcd" class="icon_search" style="left:199px; top:154px; width:16px; height:16px; ">
  1385. <caption/>
  1386. <script type="javascript" ev:event="DOMActivate">
  1387. <![CDATA[
  1388. // ahafSetAddr(1, "/root/main/info/patinfo/item");
  1389. ahafSetAddr(1, "/root/main/info/patinfo/item", "combination");
  1390. ]]>
  1391. </script>
  1392. </button>
  1393. <input id="opt_addr" ref="/root/main/info/patinfo/item/addr1" class="output_fix" navindex="9" imemode="hangul" style="left:220px; top:153px; width:167px; height:19px; ">
  1394. <script type="javascript" ev:event="onkeyup">
  1395. <![CDATA[
  1396. if( event.keyCode == 13 ){
  1397. var srcNode = ahafSetAddr(1, "/root/main/info/patinfo/item" , "combination", opt_addr.currentText );
  1398. opt_addr.value = model.getValue(srcNode + "/addr") ;
  1399. }
  1400. fMoveFocus("ipt_detladdr");
  1401. ]]>
  1402. </script>
  1403. </input>
  1404. <caption id="caption93" class="search_n_b" style="left:136px; top:104px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  1405. <output id="opt_sex" ref="/root/main/info/patinfo/item/sex" class="output_fix" style="left:626px; top:102px; width:36px; height:19px; "/>
  1406. <button id="btn_pkgdetl" class="btn_sw" group="tab" style="left:95px; top:225px; width:89px; height:22px; ">
  1407. <caption>패키지상세</caption>
  1408. <script type="javascript" ev:event="DOMActivate">
  1409. <![CDATA[
  1410. model.toggle("case_pkgdetl" );
  1411. var PkgCd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  1412. ahafGetPkgDetlList(PkgCd);
  1413. ]]>
  1414. </script>
  1415. </button>
  1416. <caption id="caption50" class="cell_1" style="left:160px; top:27px; width:58px; height:23px; vertical-align:middle; ">비자구분</caption>
  1417. <select1 id="rdo_visaflag" ref="/root/main/info/rsrvacptinfo/item/visaflag" appearance="full" cols="4" rows="1" overflow="visible" style="left:223px; top:29px; width:89px; height:20px; border-style:none; ">
  1418. <choices>
  1419. <item>
  1420. <label>이민</label>
  1421. <value>M</value>
  1422. </item>
  1423. <item>
  1424. <label>유학</label>
  1425. <value>S</value>
  1426. </item>
  1427. </choices>
  1428. </select1>
  1429. <select1 id="cmb_brthareacnts" ref="/root/main/info/rsrvacptinfo/item/brthareacnts" class="combo_search" navindex="6" appearance="minimal" style="left:267px; top:130px; width:100px; height:19px; ">
  1430. <choices>
  1431. <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
  1432. <label ref="cdnm"/>
  1433. <value ref="cdid"/>
  1434. </itemset>
  1435. </choices>
  1436. <script type="javascript" ev:event="xforms-select">
  1437. <![CDATA[
  1438. //fMessageChk(false);
  1439. fMoveFocus("ipt_telno");
  1440. ]]>
  1441. </script>
  1442. </select1>
  1443. <caption id="cap_rsrvtm" class="cell_1" style="left:769px; top:27px; width:56px; height:23px; vertical-align:middle; ">예약시간</caption>
  1444. <line id="line10" class="line_1" style="x1:10px; y1:23px; x2:875px; y2:23px; "/>
  1445. <button id="button2" class="btn_sw" group="tab" style="left:10px; top:225px; width:84px; height:22px; ">
  1446. <caption>선택패키지</caption>
  1447. <toggle case="case_pkg" ev:event="onclick"/>
  1448. </button>
  1449. <caption id="caption51" class="tit_2" style="left:15px; top:29px; width:144px; height:13px; ">처방관리</caption>
  1450. <line id="line11" class="line_2" style="x1:10px; y1:45px; x2:875px; y2:45px; "/>
  1451. <line id="line22" class="line_2" style="x1:10px; y1:124px; x2:875px; y2:124px; "/>
  1452. <caption id="caption52" class="tit_2" style="left:15px; top:76px; width:144px; height:13px; ">건진자 정보</caption>
  1453. <input id="ipt_pid" ref="/root/main/info/patinfo/item/pid" class="input_essential" imemode="alpha" maxlength="10" style="left:777px; top:102px; width:96px; height:19px; ">
  1454. <script type="javascript" ev:event="onkeyup">
  1455. <![CDATA[
  1456. if( event.keyCode == 13 ){
  1457. fInitRsrvAcptInfo();
  1458. fGetPatInfo(2);
  1459. fGetDetlInfoHid();
  1460. ipt_visayear.currentText=getCurrentDate();
  1461. }
  1462. ]]>
  1463. </script>
  1464. </input>
  1465. <input id="ipt_visayear" ref="/root/main/info/rsrvacptinfo/item/visano" class="input_essential" maxlength="10" style="left:768px; top:128px; width:105px; height:19px; "/>
  1466. <button id="btn_no" class="btn4_letter6" visibility="hidden" style="left:415px; top:65px; width:104px; height:22px; ">
  1467. <caption>비자년번생성</caption>
  1468. <script type="javascript" ev:event="DOMActivate">
  1469. <![CDATA[
  1470. fGetVisano();
  1471. ]]>
  1472. </script>
  1473. </button>
  1474. <input id="ipt_rsrvtm" ref="/root/main/info/rsrvacptinfo/item/rsrvtm" class="input_default" disabled="true" format="hh:nn" style="left:827px; top:28px; width:47px; height:19px; ">
  1475. <script type="javascript" ev:event="onkeyup">
  1476. <![CDATA[
  1477. fMoveFocus("ipt_pnm");
  1478. ]]>
  1479. </script>
  1480. </input>
  1481. <caption id="caption53" class="cell_1" style="left:9px; top:101px; width:55px; height:23px; vertical-align:middle; ">주민번호</caption>
  1482. <caption id="caption32" class="tit_2" style="left:15px; top:7px; width:144px; height:13px; ">예약/접수정보</caption>
  1483. <input id="ipt_engnm" ref="/root/main/info/patinfo/item/engnm" class="input_default" navindex="3" imemode="alpha" maxlength="50" _chartype="upper" text-transform="uppercase" style="left:300px; top:102px; width:105px; height:19px; ">
  1484. <script type="javascript" ev:event="onkeyup">
  1485. <![CDATA[
  1486. //엔터 누를시에 대문자로 전환시켜 저장
  1487. if( event.keyCode == 13 ){
  1488. var a=ipt_engnm.currentText;
  1489. a=a.toUpperCase();
  1490. model.setValue("/root/main/info/patinfo/item/engnm",a);
  1491. out_engnm.value = ipt_engnm.value;
  1492. model.refresh();
  1493. fMoveFocus("ipt_pnm");
  1494. }
  1495. ]]>
  1496. </script>
  1497. </input>
  1498. <input id="opt_zipcd1" ref="/root/main/info/patinfo/item/zipcd11" class="output_fix" format="999" style="left:68px; top:153px; width:57px; height:19px; "/>
  1499. <caption id="caption1" class="search_n_b" style="left:126px; top:154px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  1500. <caption id="caption33" class="cell_1" style="left:456px; top:28px; width:59px; height:23px; vertical-align:middle; ">접수일자</caption>
  1501. <line id="line14" class="line_3" style="x1:10px; y1:50px; x2:875px; y2:50px; "/>
  1502. <line id="line25" class="line_1" style="x1:9px; y1:96px; x2:874px; y2:96px; "/>
  1503. <caption id="caption55" class="cell_1" style="left:9px; top:151px; width:55px; height:43px; vertical-align:middle; ">주소</caption>
  1504. <input id="opt_zipcd2" ref="/root/main/info/patinfo/item/zipcd12" class="output_fix" format="999" style="left:138px; top:153px; width:57px; height:19px; "/>
  1505. <input id="ipt_detladdr" ref="/root/main/info/patinfo/item/detladdr1" class="input_default" navindex="10" imemode="hangul" maxlength="100" style="left:68px; top:173px; width:319px; height:19px; ">
  1506. <script type="javascript" ev:event="onkeyup">
  1507. <![CDATA[
  1508. fMoveFocus("ipt_patremcnts");
  1509. ]]>
  1510. </script>
  1511. </input>
  1512. <caption id="caption11" class="cell_1" style="left:410px; top:101px; width:55px; height:23px; vertical-align:middle; ">성명(한)</caption>
  1513. <line id="line15" class="line_3" style="x1:10px; y1:193px; x2:875px; y2:193px; "/>
  1514. <input id="ipt_rgstno1" ref="/root/main/info/patinfo/item/rgstno1" class="input_essential" navindex="1" format="999999" style="left:68px; top:102px; width:64px; height:19px; "/>
  1515. <caption id="caption12" class="cell_1" style="left:705px; top:126px; width:60px; height:23px; vertical-align:middle; ">비자년번</caption>
  1516. <caption id="caption46" class="cell_1" style="left:198px; top:128px; width:63px; height:23px; vertical-align:middle; ">국가</caption>
  1517. <input id="ipt_rgstno2" ref="/root/main/info/patinfo/item/rgstno2" class="input_essential" navindex="2" format="9999999" style="left:150px; top:102px; width:69px; height:19px; ">
  1518. <script type="javascript" ev:event="xforms-value-changed">
  1519. <![CDATA[
  1520. if( (getStringLength(ipt_rgstno2.currentText) > 6) && (getStringLength(ipt_rgstno1.currentText) > 5) ){
  1521. //주민번호로 환자 검색
  1522. fSetBrthDD();
  1523. //비자 연령 세팅
  1524. //fSetBrthDDVisa();
  1525. //외국인일 경우 나이 그냥 세팅
  1526. //fGetPatInfoVisa(1);
  1527. fGetPatInfo(1);
  1528. fGetDetlInfoHid();
  1529. model.setFocus("ipt_engnm");
  1530. }
  1531. ]]>
  1532. </script>
  1533. <script type="javascript" ev:event="onkeyup">
  1534. <![CDATA[
  1535. if( event.keyCode == 13 ){
  1536. //fGetPatInfo(1);
  1537. //model.setFocus("ipt_pid");
  1538. //주민번호로 환자 검색 like~
  1539. if( getStringLength(ipt_rgstno2.currentText) < 7 ){
  1540. fSearchPatInfo("SMAHA00100", "rgstno","", "Y", "/root/main/info/patinfo/item", "", "", ipt_rgstno1.currentText , ipt_rgstno2.currentText);
  1541. }
  1542. else {
  1543. if( getStringLength(ipt_rgstno2.currentText) > 6) fGetPatInfo(1);
  1544. }
  1545. fGetDetlInfoHid();
  1546. model.setFocus("ipt_mpphon");
  1547. }
  1548. ]]>
  1549. </script>
  1550. </input>
  1551. <caption id="caption4" class="cell_1" style="left:613px; top:27px; width:59px; height:23px; vertical-align:middle; ">예약일자</caption>
  1552. <caption id="caption47" class="cell_1" style="left:10px; top:128px; width:59px; height:23px; vertical-align:middle; ">여권번호</caption>
  1553. <input id="ipt_orddd" ref="/root/main/info/rsrvacptinfo/item/orddd" class="input_essential" disabled="true" inputtype="date" style="left:517px; top:28px; width:93px; height:19px; "/>
  1554. <caption id="caption69" class="cell_1" style="left:714px; top:101px; width:60px; height:23px; vertical-align:middle; ">등록번호</caption>
  1555. <input id="ipt_brthdd" ref="/root/main/info/patinfo/item/brthdd" class="input_essential" visibility="hidden" inputtype="date" style="left:230px; top:0px; width:108px; height:19px; "/>
  1556. <caption id="caption48" class="cell_1" style="left:243px; top:101px; width:55px; height:23px; vertical-align:middle; ">성명(영)</caption>
  1557. <input id="ipt_rsrvdd" ref="/root/main/info/rsrvacptinfo/item/hopedd" class="input_essential" inputtype="date" style="left:674px; top:28px; width:93px; height:19px; "/>
  1558. <button id="btn_selpnm" class="icon_search" style="left:223px; top:104px; width:16px; height:16px; ">
  1559. <caption/>
  1560. <script type="javascript" ev:event="DOMActivate">
  1561. <![CDATA[
  1562. fSearchPatInfo("SMAHA00600", "pnm", ipt_pnm.currentText , "Y", "/root/main/info/patinfo/item");
  1563. fGetDetlInfoHid();
  1564. ]]>
  1565. </script>
  1566. </button>
  1567. <line id="line3" class="line_1" style="x1:10px; y1:195px; x2:875px; y2:195px; "/>
  1568. <caption id="caption39" class="cell_1" style="left:10px; top:28px; width:55px; height:23px; vertical-align:middle; ">검진구분</caption>
  1569. <select1 id="cmb_healexamdetlflag" ref="/root/main/info/rsrvacptinfo/item/healexamdetlflag" class="combo_default" disabled="true" appearance="minimal" style="left:67px; top:29px; width:90px; height:19px; ">
  1570. <choices>
  1571. <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
  1572. <label ref="cdnm"/>
  1573. <value ref="cdid"/>
  1574. </itemset>
  1575. </choices>
  1576. </select1>
  1577. <output id="opt_age" ref="/root/main/info/patinfo/item/age" class="output_fix" style="left:665px; top:102px; width:46px; height:19px; "/>
  1578. <input id="ipt_psptno" ref="/root/main/info/patinfo/item/psptno" class="input_default" navindex="5" imemode="alpha" maxlength="20" _chartype="upper" style="left:71px; top:130px; width:118px; height:19px; ">
  1579. <script type="javascript" ev:event="onkeyup">
  1580. <![CDATA[
  1581. //엔터 누를시에 대문자로 전환시킴
  1582. if( event.keyCode == 13 ){
  1583. var b=ipt_psptno.currentText;
  1584. b=b.toUpperCase();
  1585. model.setValue("/root/main/info/patinfo/item/psptno",b);
  1586. model.refresh();
  1587. }
  1588. fMoveFocus("cmb_brthareacnts");
  1589. ]]>
  1590. </script>
  1591. <script type="javascript" ev:event="xforms-value-changed">
  1592. <![CDATA[
  1593. if(getStringLength(ipt_psptno.currentText)>19){
  1594. model.setFocus("cmb_brthareacnts");
  1595. }
  1596. ]]>
  1597. </script>
  1598. </input>
  1599. <button id="btn_totrsrvdt" class="btn2_letter6" disabled="false" style="left:789px; top:3px; width:86px; height:19px; ">
  1600. <caption>예약시간선택</caption>
  1601. <script type="javascript" ev:event="DOMActivate">
  1602. <![CDATA[
  1603. fGetRsrvDateTime("T", ipt_rsrvdd , ipt_rsrvtm);
  1604. ]]>
  1605. </script>
  1606. </button>
  1607. <button id="btn_savepatinfo" class="btn5_letter6" style="left:787px; top:75px; width:86px; height:19px; ">
  1608. <caption>인적사항저장</caption>
  1609. <script type="javascript" ev:event="DOMActivate">
  1610. <![CDATA[
  1611. //인적사항을 인서트 한다.
  1612. fSavePatInfo("N");
  1613. fGetList();
  1614. ]]>
  1615. </script>
  1616. </button>
  1617. <switch id="swt_visa" style="left:10px; top:244px; width:865px; height:196px; border-color:#c7a3cf; border-style:solid; ">
  1618. <case id="case_pkg" selected="true" style="left:0px; top:0px; width:880px; height:448px; ">
  1619. <caption id="cap_pkgcd" class="cell_1" style="left:5px; top:8px; width:83px; height:23px; vertical-align:middle; ">패키지</caption>
  1620. <input id="ipt_pkgcd" ref="/root/main/info/rsrvacptinfo/item/pkgcd" class="input_essential" maxlength="12" style="left:90px; top:9px; width:85px; height:19px; ">
  1621. <script type="javascript" ev:event="onkeyup">
  1622. <![CDATA[
  1623. inputEnterKey("btn_selpkg", "DOMActivate");
  1624. ]]>
  1625. </script>
  1626. </input>
  1627. <button id="btn_selpkg" class="icon_search" style="left:180px; top:10px; width:16px; height:16px; ">
  1628. <caption/>
  1629. <script type="javascript" ev:event="DOMActivate">
  1630. <![CDATA[
  1631. //var old_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  1632. fGetPkgCd("SMAHA00600", "P", "N","nm" , ipt_pkgcd.currentText , cmb_healexamdetlflag.value, opt_sex.value , "/root/main/info/rsrvacptinfo/item","","pkg",ageCalc(model.getValue("/root/main/info/patinfo/item/rgstno1") , model.getValue("/root/main/info/patinfo/item/rgstno2") ), cmb_brthareacnts.value);
  1633. // fGetPkgCd("SMAHA00600", "P", "N","nm" , ipt_pkgcd.currentText , "G02", opt_sex.value , "/root/main/info/rsrvacptinfo/item");
  1634. // var cur_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  1635. model.setValue("/root/main/info/rcptinfo/pkgamt" , model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"));
  1636. // fTempCalc(model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"), grd_addlst , 6,7, opt_totamt, opt_pkgamt, opt_addamt );
  1637. // model.setValue("/root/main/info/rcptinfo/pkgamt" , model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"));
  1638. //model.setValue("/root/main/info/rcptinfo/discamt", model.getValue("/root/main/info/rsrvacptinfo/item/discamt"));
  1639. //model.setValue("/root/temp/discamt", model.getValue("/root/main/info/rsrvacptinfo/item/discamt"));
  1640. var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
  1641. //alert(count_a);
  1642. var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
  1643. count_a = count_a == "" ? 0 : count_a;
  1644. count_b = count_b == "" ? 0 : count_b;
  1645. model.setValue("/root/main/sum",parseInt(count_a)+parseInt(count_b));
  1646. fMessageChk(false);
  1647. model.refresh();
  1648. ]]>
  1649. </script>
  1650. </button>
  1651. <output id="opt_pkgnm" ref="/root/main/info/rsrvacptinfo/item/pkgnm" class="output_fix" style="left:201px; top:9px; width:338px; height:19px; "/>
  1652. <caption id="caption8" class="cell_1" style="left:543px; top:8px; width:79px; height:23px; vertical-align:middle; ">청구방법</caption>
  1653. <select1 id="cmb_pkguncocd" ref="/root/main/info/rsrvacptinfo/item/pkguncocd" class="combo_default" appearance="minimal" style="left:623px; top:9px; width:235px; height:19px; ">
  1654. <choices>
  1655. <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
  1656. <label ref="nm"/>
  1657. <value ref="cd"/>
  1658. </itemset>
  1659. </choices>
  1660. <script type="javascript" ev:event="xforms-select">
  1661. <![CDATA[
  1662. var cnt = grd_addlst.rows ;
  1663. var i = 0;
  1664. var uncocd = "";
  1665. for( i = 1; i < cnt ; i++){
  1666. uncocd = grd_addlst.valueMatrix(i, 5);
  1667. if( ( uncocd == "") || (uncocd == "-" ) ){
  1668. grd_addlst.valueMatrix(i, 5) = cmb_pkguncocd.value ;
  1669. }
  1670. }
  1671. model.refresh();
  1672. ]]>
  1673. </script>
  1674. </select1>
  1675. <line id="line44" class="line_1" style="x1:5px; y1:3px; x2:857px; y2:3px; "/>
  1676. <line id="line43" class="line_2" style="x1:5px; y1:31px; x2:857px; y2:31px; "/>
  1677. <caption id="caption92" class="cell_1" style="left:5px; top:33px; width:83px; height:23px; vertical-align:middle; ">최근건진내역</caption>
  1678. <output id="opt_latestpkginfo" ref="/root/main/info/rsrvacptinfo/item/latestpkginfo" class="output_fix" style="left:90px; top:34px; width:158px; height:19px; "/>
  1679. <line id="line2" class="line_3" style="x1:5px; y1:56px; x2:862px; y2:56px; "/>
  1680. <caption id="caption81" class="cell_1" style="left:251px; top:33px; width:69px; height:23px; vertical-align:middle; ">패키지금액</caption>
  1681. <output id="opt_addamt" ref="/root/main/info/rcptinfo/addamt" class="output_fix" format="#,###" style="left:520px; top:34px; width:120px; height:19px; text-align:right; ">
  1682. <script type="javascript" ev:event="xforms-valid">
  1683. <![CDATA[
  1684. var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
  1685. var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
  1686. //패키지 금액이 없다는것 자체가 검사금액이 0이라는것
  1687. if(count_a=='')
  1688. output2.value="0";
  1689. //추가가 비었을 때 패키지만 더해준다
  1690. else if (count_b=='')
  1691. output2.value=parseInt(opt_pkgamt.value);
  1692. // 둘다 아닐때 두 금액을 더해준다
  1693. else
  1694. output2.value=parseInt(opt_addamt.value)+parseInt(opt_pkgamt.value);
  1695. model.refresh();
  1696. ]]>
  1697. </script>
  1698. </output>
  1699. <caption id="caption9" class="cell_1" style="left:438px; top:33px; width:79px; height:23px; vertical-align:middle; ">추가검사금액</caption>
  1700. <output id="opt_pkgamt" ref="/root/main/info/rcptinfo/pkgamt" class="output_fix" format="#,###" style="left:323px; top:34px; width:112px; height:19px; text-align:right; ">
  1701. <script type="javascript" ev:event="xforms-valid">
  1702. <![CDATA[
  1703. var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
  1704. alert(count_a);
  1705. var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
  1706. //패키지 금액이 없다는것 자체가 검사금액이 0이라는것
  1707. if(count_a=='')
  1708. output2.value="0";
  1709. //추가가 비었을 때 패키지만 더해준다
  1710. else if (count_b=='')
  1711. output2.value=parseInt(opt_pkgamt.value);
  1712. // 둘다 아닐때 두 금액을 더해준다
  1713. else
  1714. output2.value=parseInt(opt_addamt.value)+parseInt(opt_pkgamt.value);
  1715. model.refresh();
  1716. ]]>
  1717. </script>
  1718. </output>
  1719. <caption id="caption15" class="cell_1" style="left:646px; top:33px; width:79px; height:23px; vertical-align:middle; ">총 건진금액</caption>
  1720. <output id="output2" ref="/root/main/sum" class="output_fix" format="#,###" style="left:728px; top:34px; width:130px; height:19px; text-align:right; "/>
  1721. </case>
  1722. <case id="case_hist">
  1723. <datagrid id="grd_hist" nodeset="/root/main/info/histlst/item" caption="신검일자^패키지코드^패키지명^비자연번^특이사항" colsep="^" colwidth="78, 99, 261,100,100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:853px; height:185px; ">
  1724. <col ref="orddd"/>
  1725. <col ref="pkgcd"/>
  1726. <col ref="pkgnm"/>
  1727. <col ref="visano"/>
  1728. <col ref="remcnts"/>
  1729. </datagrid>
  1730. </case>
  1731. <case id="case_cur">
  1732. <datagrid id="grd_curlst" nodeset="/root/main/info/curlst/item" caption="예약일자^예약시간^접수일자^검사코드^검사명^검사실^상태" colsep="^" colwidth="78, 76, 99, 92, 249, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:853px; height:185px; ">
  1733. <col ref="hopedd"/>
  1734. <col ref="rsrvtm"/>
  1735. <col ref="orddd"/>
  1736. <col ref="testcd"/>
  1737. <col ref="testnm"/>
  1738. <col ref="testroomcd" type="combo"/>
  1739. <col ref="statflag"/>
  1740. </datagrid>
  1741. </case>
  1742. <case id="case_pkgdetl">
  1743. <datagrid id="grd_pkgdetl" nodeset="/root/main/info/pkgdetl/item" caption="검진코드^검진구분^검사분류^검사명^참고치^패키지분류^최종수정자^최종수정일시" colsep="^" colwidth="35, 110, 135, 193, 162, 100" mergecells="byrowrec" mergecellsfixedrows="bycolrec" multitotal="true" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:853px; height:185px; ">
  1744. <col disabled="false" ref="pkgcd" visibility="hidden"/>
  1745. <col ref="cdnm"/>
  1746. <col ref="spcnm"/>
  1747. <col ref="testnm"/>
  1748. <col ref="stndval"/>
  1749. <col disabled="true" ref="padd" visibility="hidden"/>
  1750. <script type="javascript" ev:event="ondblclick">
  1751. <![CDATA[
  1752. ]]>
  1753. </script>
  1754. </datagrid>
  1755. </case>
  1756. </switch>
  1757. <caption id="caption2" class="tit_2" style="left:15px; top:460px; width:144px; height:13px; ">추가검사</caption>
  1758. <button id="btn_add" class="btn2_letter4" style="left:812px; top:450px; width:64px; height:19px; ">
  1759. <caption>추가검사</caption>
  1760. <script type="javascript" ev:event="DOMActivate">
  1761. <![CDATA[
  1762. fGetPkgCd("SMAHA00600", "A", "Y","nm" , "" , cmb_healexamdetlflag.value, opt_sex.value, "/root/temp/templst");
  1763. fSetAddList(grd_addlst, 3, "/root/temp/templst/list", "Y");
  1764. // fTempCalc(model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"), grd_addlst , 6,7, opt_totamt, opt_pkgamt , opt_addamt );
  1765. var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
  1766. var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
  1767. count_a = count_a == "" ? 0 : count_a;
  1768. count_b = count_b == "" ? 0 : count_b;
  1769. model.setValue("/root/main/sum",parseInt(count_a)+parseInt(count_b));
  1770. ]]>
  1771. </script>
  1772. </button>
  1773. <button id="btn_del" class="btn2_letter3" visibility="hidden" style="left:815px; top:450px; width:53px; height:19px; ">
  1774. <caption>행삭제</caption>
  1775. <script type="javascript" ev:event="DOMActivate">
  1776. <![CDATA[
  1777. model.setValue(grd_addlst.nodeset + "[" + grd_addlst.row + "]/m", "d");
  1778. grd_addlst.addStatus(grd_addlst.row, "delete");
  1779. ]]>
  1780. </script>
  1781. </button>
  1782. <button id="button3" class="btn2_letter3" visibility="hidden" style="left:759px; top:450px; width:53px; height:19px; ">
  1783. <caption>행추가</caption>
  1784. <script type="javascript" ev:event="DOMActivate">
  1785. <![CDATA[
  1786. grd_addlst.addRow();
  1787. grd_addlst.col = 3;
  1788. grd_addlst.editCell();
  1789. ]]>
  1790. </script>
  1791. </button>
  1792. <button id="btn_grup" class="btn2_letter4" visibility="hidden" style="left:625px; top:450px; width:64px; height:19px; ">
  1793. <caption>묶음처방</caption>
  1794. <script type="javascript" ev:event="DOMActivate">
  1795. <![CDATA[
  1796. fGetPkgCd("SMAHA00600", "X", "Y","nm" , "" , cmb_healexamdetlflag.value, opt_sex.value, "/root/temp/templst");
  1797. fSetAddList(grd_addlst, 3, "/root/temp/templst/list", "Y");
  1798. fTempCalc(model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"), grd_addlst , 6,7, opt_totamt, opt_pkgamt , opt_addamt );
  1799. var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
  1800. //alert(count_a);
  1801. var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
  1802. model.setValue("/root/main/sum",parseInt(count_a)+parseInt(count_b));
  1803. ]]>
  1804. </script>
  1805. </button>
  1806. <button id="btn_ordmgt" class="btn2_letter4" visibility="visible" style="left:745px; top:450px; width:64px; height:19px; ">
  1807. <caption>처방관리</caption>
  1808. <script type="javascript" ev:event="DOMActivate">
  1809. <![CDATA[
  1810. setParameter ("SMAHA00700_PARAM1" , model.getValue( cmb_healexamdetlflag.attribute("ref")) );
  1811. setParameter ("SMAHA00700_PARAM2" , model.getValue( ipt_pid.attribute("ref")) );
  1812. modal("SMAHA00700");
  1813. ]]>
  1814. </script>
  1815. </button>
  1816. <datagrid id="grd_addlst" nodeset="/root/main/info/rsrvacptinfo/addlst" caption="선택^검사구분^검사코드^검사명^청구방법^가격^횟수^할인액^검사일련번호^수가코드^처방번호^처방일자^처방구분^묶음검사구분^addtotamt" colsep="^" colwidth="33, 62, 100, 293, 93, 138, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:15px; top:478px; width:860px; height:150px; ">
  1817. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  1818. <col ref="testflag" type="combo">
  1819. <choices>
  1820. <itemset nodeset="/root/init/baseinfo/testflag/A0117">
  1821. <label ref="cdnm"/>
  1822. <value ref="cdid"/>
  1823. </itemset>
  1824. </choices>
  1825. </col>
  1826. <col ref="testcd" type="inputbutton"/>
  1827. <col ref="testnm"/>
  1828. <col ref="uncocd" type="combo">
  1829. <choices>
  1830. <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
  1831. <label ref="nm"/>
  1832. <value ref="cd"/>
  1833. </itemset>
  1834. </choices>
  1835. </col>
  1836. <col ref="scoreamt" visibility="visible" format="(-,+)#,###" style="text-align:right; "/>
  1837. <col ref="prcptims" type="input"/>
  1838. <col ref="discamt" format="(-,+)#,###"/>
  1839. <col ref="examseq"/>
  1840. <col ref="calcscorcd"/>
  1841. <col ref="prcpno"/>
  1842. <col ref="prcpdd"/>
  1843. <col ref="m"/>
  1844. <col ref="grupflag"/>
  1845. <col ref="addtotamt" visibility="hidden"/>
  1846. <script type="javascript" ev:event="onendedit">
  1847. <![CDATA[
  1848. if( (grd_addlst.col == 3 ) && (event.keyCode == 13 )) {
  1849. fSelPkgAdd("A" , grd_addlst.labelMatrix( grd_addlst.row , 3) );
  1850. }
  1851. ]]>
  1852. </script>
  1853. </datagrid>
  1854. <line id="line1" class="line_1" style="x1:15px; y1:475px; x2:872px; y2:475px; "/>
  1855. <datagrid id="grd_pkglst" nodeset="/root/main/info/rsrvacptinfo/pkglst" visibility="hidden" caption="선택^검사구분^검사코드^검사명^청구방법^가격" colsep="^" colwidth="33, 50, 100, 293, 160, 143" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:555px; top:515px; width:270px; height:65px; ">
  1856. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  1857. <col ref="pkgflag" visibility="hidden"/>
  1858. <col ref="pkgcd" type="inputbutton"/>
  1859. <col ref="testnm"/>
  1860. <col ref="uncocd" type="combo">
  1861. <choices>
  1862. <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
  1863. <label ref="nm"/>
  1864. <value ref="cd"/>
  1865. </itemset>
  1866. </choices>
  1867. </col>
  1868. <col ref="manamt" visibility="visible"/>
  1869. <script type="javascript" ev:event="onendedit">
  1870. <![CDATA[
  1871. if( grd_addlst.col == 3 ){
  1872. fSelPkgAdd("A" , grd_addlst.labelMatrix( grd_addlst.row , 3) );
  1873. }
  1874. ]]>
  1875. </script>
  1876. </datagrid>
  1877. <group id="grp_msgmng" visibility="hidden" style="left:12px; top:315px; width:460px; height:105px; ">
  1878. <caption id="caption70" class="cell_1" style="left:5px; top:33px; width:36px; height:19px; vertical-align:middle; ">국가</caption>
  1879. <select1 id="combo5" ref="/root/temp/item/brthareacnts" class="combo_search" appearance="minimal" style="left:43px; top:33px; width:90px; height:19px; ">
  1880. <choices>
  1881. <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
  1882. <label ref="cdnm"/>
  1883. <value ref="cdid"/>
  1884. </itemset>
  1885. </choices>
  1886. </select1>
  1887. <caption id="caption71" class="cell_1" style="left:138px; top:33px; width:36px; height:19px; vertical-align:middle; ">성별</caption>
  1888. <select1 id="rdo_sex" ref="/root/temp/item/sex" appearance="full" cols="4" rows="1" overflow="visible" style="left:176px; top:33px; width:90px; height:19px; border-style:none; ">
  1889. <choices>
  1890. <item>
  1891. <label>남자</label>
  1892. <value>M</value>
  1893. </item>
  1894. <item>
  1895. <label>여자</label>
  1896. <value>F</value>
  1897. </item>
  1898. </choices>
  1899. </select1>
  1900. <caption id="caption72" class="cell_1" style="left:269px; top:33px; width:36px; height:19px; vertical-align:middle; ">나이</caption>
  1901. <input id="ipt_fromage" ref="/root/temp/item/fromage" class="input_default" format="999999" style="left:307px; top:33px; width:64px; height:19px; "/>
  1902. <caption id="caption73" class="search_n_b" style="left:375px; top:33px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  1903. <input id="ipt_toage" ref="/root/temp/item/toage" class="input_default" format="9999999" style="left:390px; top:33px; width:69px; height:19px; "/>
  1904. <caption id="caption74" class="cell_1" style="left:5px; top:55px; width:36px; height:19px; vertical-align:middle; ">내용</caption>
  1905. <textarea id="ipt_msgcnts" ref="/root/temp/item/msgcnts" imemode="hangul" maxlength="250" appearance="textarea" style="left:43px; top:55px; width:415px; height:19px; "/>
  1906. <button id="button30" class="btn2_letter2" style="left:415px; top:5px; width:42px; height:19px; ">
  1907. <caption>닫기</caption>
  1908. <script type="javascript" ev:event="DOMActivate">
  1909. <![CDATA[
  1910. grp_msgmng.visible = false;
  1911. ]]>
  1912. </script>
  1913. </button>
  1914. <line id="line24" class="line_1" style="x1:5px; y1:30px; x2:457px; y2:29px; "/>
  1915. <caption id="caption21" ref="/root/temp/temprslt/temptestnm" class="tit_2" style="left:5px; top:10px; width:305px; height:13px; ">국가별 메시지관리</caption>
  1916. <button id="button31" class="btn4_letter2" style="left:400px; top:80px; width:56px; height:22px; ">
  1917. <caption>저장</caption>
  1918. <script type="javascript" ev:event="onclick">
  1919. <![CDATA[
  1920. ]]>
  1921. </script>
  1922. </button>
  1923. </group>
  1924. <caption id="caption91" class="cell_1" style="left:560px; top:101px; width:63px; height:23px; vertical-align:middle; ">성별/나이</caption>
  1925. <input id="ipt_pnm" ref="/root/main/info/patinfo/item/hngnm" class="input_default" navindex="4" imemode="hangul" maxlength="50" style="left:468px; top:102px; width:90px; height:19px; ">
  1926. <script type="javascript" ev:event="onkeyup">
  1927. <![CDATA[
  1928. fMoveFocus("ipt_psptno");
  1929. ]]>
  1930. </script>
  1931. </input>
  1932. <button id="button10" class="btn5_letter6" visibility="hidden" style="left:695px; top:75px; width:86px; height:19px; ">
  1933. <caption>인적사항수정</caption>
  1934. <script type="javascript" ev:event="DOMActivate">
  1935. <![CDATA[
  1936. //인적사항을 업데이트 한다.
  1937. fSavePatInfo("N");
  1938. ]]>
  1939. </script>
  1940. </button>
  1941. <button id="button32" class="btn2_letter5" visibility="hidden" style="left:615px; top:75px; width:75px; height:19px; ">
  1942. <caption>메시지관리</caption>
  1943. <script type="javascript" ev:event="DOMActivate">
  1944. <![CDATA[
  1945. grp_msgmng.visible = true;
  1946. ]]>
  1947. </script>
  1948. </button>
  1949. <caption id="caption24" class="cell_1" style="left:392px; top:151px; width:55px; height:42px; vertical-align:middle; ">Remark</caption>
  1950. <textarea id="txt_remark" ref="/root/main/info/patinfo/item/patremcnts" navindex="11" imemode="alpha" maxlength="250" appearance="textarea" style="left:450px; top:152px; width:423px; height:40px; ">
  1951. <script type="javascript" ev:event="DOMFocusOut">
  1952. <![CDATA[
  1953. var c=txt_remark.currentText;
  1954. c=c.toUpperCase();
  1955. model.setValue("/root/main/info/patinfo/item/patremcnts",c);
  1956. model.refresh();
  1957. ]]>
  1958. </script>
  1959. </textarea>
  1960. <caption id="caption25" class="tit_2" style="left:15px; top:210px; width:144px; height:13px; ">건진 정보</caption>
  1961. <output id="out_engnm" ref="/root/main/info/patinfo/item/engnm" appearance="output" style="left:105px; top:75px; width:295px; height:19px; "/>
  1962. <input id="ipt_mpphon" ref="/root/main/info/patinfo/item/mpphon" class="input_default" navindex="8" imemode="alpha" maxlength="30" style="left:595px; top:128px; width:108px; height:19px; ">
  1963. <script type="javascript" ev:event="onkeyup">
  1964. <![CDATA[
  1965. fMoveFocus("opt_addr");
  1966. ]]>
  1967. </script>
  1968. </input>
  1969. <input id="ipt_telno" ref="/root/main/info/patinfo/item/telno" class="input_default" navindex="7" imemode="alpha" maxlength="30" style="left:436px; top:128px; width:105px; height:19px; ">
  1970. <script type="javascript" ev:event="onkeyup">
  1971. <![CDATA[
  1972. fMoveFocus("ipt_mpphon");
  1973. ]]>
  1974. </script>
  1975. </input>
  1976. <caption id="caption45" class="cell_1" style="left:544px; top:126px; width:49px; height:23px; vertical-align:middle; ">휴대폰</caption>
  1977. <caption id="caption49" class="cell_1" style="left:377px; top:126px; width:55px; height:23px; vertical-align:middle; ">연락처</caption>
  1978. <select1 id="cmb_place" ref="/root/main/info/rsrvacptinfo/item/healexamplacecd" class="combo_essential" disabled="true" appearance="minimal" style="left:374px; top:29px; width:80px; height:19px; ">
  1979. <choices>
  1980. <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
  1981. <label ref="cdnm"/>
  1982. <value ref="cdid"/>
  1983. </itemset>
  1984. </choices>
  1985. </select1>
  1986. <caption id="caption18" class="cell_1" style="left:313px; top:27px; width:59px; height:23px; vertical-align:middle; ">건진장소</caption>
  1987. <select1 id="rdo_healexamplacecd" ref="/root/init/place/healexamplacecd" appearance="full" cols="2" overflow="visible" style="left:615px; top:2px; width:165px; height:20px; border-style:none; ">
  1988. <choices>
  1989. <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
  1990. <label ref="cdnm"/>
  1991. <value ref="cdid"/>
  1992. </itemset>
  1993. </choices>
  1994. <script type="javascript" ev:event="xforms-select">
  1995. <![CDATA[
  1996. var healexamplacecd = model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd");
  1997. var statFlag = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
  1998. if(statFlag < 'C') {
  1999. model.setValue( "/root/main/info/rsrvacptinfo/item/healexamplacecd", rdo_healexamplacecd.value);
  2000. }else {
  2001. model.setValue( "/root/main/info/rsrvacptinfo/item/healexamplacecd", healexamplacecd == "" ? rdo_healexamplacecd.value:healexamplacecd);
  2002. }
  2003. cmb_place.refresh();
  2004. ]]>
  2005. </script>
  2006. </select1>
  2007. </group>
  2008. <switch id="swt_acptlst" style="left:0px; top:70px; width:305px; height:620px; border-color:#c7a3cf; border-style:solid; ">
  2009. <case id="case_acpt" selected="true">
  2010. <datagrid id="grd_acptlst" nodeset="/root/main/list/acptlst" allowselection="true" caption="접수일자^등록번호^비자년번^영문이름^한글이름^국가^코드^유형^주민번호^주민번호^나이/성별^수납상태^rsrvdd^rsrvno^statflag^acptflag^cmpynm^acptdttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="71, 63, 67, 146, 85, 70, 97, 188, 68, 74, 74, 72, 30, 30, 30, 30, 30, 30, 30, 30" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="above" style="left:5px; top:6px; width:292px; height:606px; ">
  2011. <col ref="orddd" format="yyyy-mm-dd"/>
  2012. <col ref="pid"/>
  2013. <col ref="visano"/>
  2014. <col ref="engnm"/>
  2015. <col ref="pnm" style="left:236px; top:23px; width:100px; height:23px; "/>
  2016. <col ref="brthareacnts" type="combo">
  2017. <choices>
  2018. <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
  2019. <label ref="cdnm"/>
  2020. <value ref="cdid"/>
  2021. </itemset>
  2022. </choices>
  2023. </col>
  2024. <col ref="pkgcd"/>
  2025. <col ref="pkgnm"/>
  2026. <col ref="rgstno1"/>
  2027. <col ref="rgstno2" style="left:773px; top:23px; width:74px; height:23px; "/>
  2028. <col ref="sexage"/>
  2029. <col ref="rcptstat" type="combo">
  2030. <choices>
  2031. <itemset nodeset="/root/init/baseinfo/rsltlst/P0049">
  2032. <label ref="cdnm"/>
  2033. <value ref="cdid"/>
  2034. </itemset>
  2035. </choices>
  2036. </col>
  2037. <col ref="rsrvdd" visibility="hidden"/>
  2038. <col ref="rsrvno" visibility="hidden"/>
  2039. <col ref="statflag" visibility="hidden"/>
  2040. <col ref="acptflag" visibility="hidden"/>
  2041. <col ref="cmpynm" visibility="hidden"/>
  2042. <col ref="acptdttm" visibility="hidden"/>
  2043. <col ref="lastupdtrid" visibility="hidden"/>
  2044. <col ref="lastupdtdt" visibility="hidden"/>
  2045. <script type="javascript" ev:event="ondblclick">
  2046. <![CDATA[
  2047. ahafGetRsrvAcptDetlVisa(3);
  2048. model.refresh()
  2049. ]]>
  2050. </script>
  2051. <script type="javascript" ev:event="onaftersort">
  2052. <![CDATA[
  2053. grd_acptlst.gridToInstance();
  2054. ]]>
  2055. </script>
  2056. </datagrid>
  2057. </case>
  2058. <case id="case_rsrv">
  2059. <datagrid id="grd_rsrvlst" nodeset="/root/main/list/rsrvlst" caption="예약일자^등록번호^영문이름^한글이름^국가^코드^유형^주민번호^주민번호^나이/성별^상태^rsrvdd^rsrvno^rcptstat^visano^totamt^cmpynm^rsrvdttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="59, 62, 64, 88, 60, 100, 65, 68, 74, 64, 50, 30, 30, 30, 30, 30, 30, 30, 30, 30" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:291px; height:606px; ">
  2060. <col ref="hopedd" format="yyyy-mm-dd"/>
  2061. <col ref="pid"/>
  2062. <col ref="engnm"/>
  2063. <col ref="pnm"/>
  2064. <col ref="brthareacnts" type="combo">
  2065. <choices>
  2066. <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
  2067. <label ref="cdnm"/>
  2068. <value ref="cdid"/>
  2069. </itemset>
  2070. </choices>
  2071. </col>
  2072. <col ref="pkgcd"/>
  2073. <col ref="pkgnm"/>
  2074. <col ref="rgstno1"/>
  2075. <col ref="rgstno2" style="left:634px; top:23px; width:74px; height:23px; "/>
  2076. <col ref="sexage"/>
  2077. <col disabled="true" ref="statflag" type="combo">
  2078. <choices>
  2079. <itemset nodeset="/root/init/baseinfo/statlst/A0107">
  2080. <label ref="cdnm"/>
  2081. <value ref="cdid"/>
  2082. </itemset>
  2083. </choices>
  2084. </col>
  2085. <col ref="rsrvdd" visibility="hidden"/>
  2086. <col ref="rsrvno" visibility="hidden"/>
  2087. <col ref="rcptstat" visibility="hidden"/>
  2088. <col ref="visano" visibility="hidden"/>
  2089. <col ref="totamt" visibility="hidden"/>
  2090. <col ref="cmpynm" visibility="hidden"/>
  2091. <col ref="rsrvdttm" visibility="hidden"/>
  2092. <col ref="lastupdtrid" visibility="hidden"/>
  2093. <col ref="lastupdtdt" visibility="hidden"/>
  2094. <script type="javascript" ev:event="ondblclick">
  2095. <![CDATA[
  2096. ahafGetRsrvAcptDetlVisa(1);
  2097. model.refresh();
  2098. ]]>
  2099. </script>
  2100. <script type="javascript" ev:event="oncopy">
  2101. <![CDATA[
  2102. grid_oncopy();
  2103. ]]>
  2104. </script>
  2105. <script type="javascript" ev:event="onaftersort">
  2106. <![CDATA[
  2107. grd_rsrvlst.gridToInstance();
  2108. ]]>
  2109. </script>
  2110. </datagrid>
  2111. </case>
  2112. <case id="case_cncl">
  2113. <group id="group4" style="left:0px; top:3px; width:295px; height:37px; vertical-align:top; ">
  2114. <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:1px; width:288px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  2115. <caption id="caption16" class="search_name" style="left:11px; top:8px; width:86px; height:17px; ">구분 :</caption>
  2116. <select1 id="rdo_cnclmode" ref="/root/init/srchmode" appearance="full" cols="4" rows="1" overflow="visible" style="left:71px; top:8px; width:188px; height:20px; border-style:none; ">
  2117. <choices>
  2118. <item>
  2119. <label>전체</label>
  2120. <value>4</value>
  2121. </item>
  2122. <item>
  2123. <label>예약취소</label>
  2124. <value>5</value>
  2125. </item>
  2126. <item>
  2127. <label>접수취소</label>
  2128. <value>6</value>
  2129. </item>
  2130. </choices>
  2131. <script type="javascript" ev:event="xforms-select">
  2132. <![CDATA[
  2133. fGetList();
  2134. ]]>
  2135. </script>
  2136. </select1>
  2137. </group>
  2138. <datagrid id="grd_cncllst" nodeset="/root/main/list/cncllst" caption="취소일시^등록번호^영문이름^국가^코드^유형^주민번호^주민번호^나이/성별^rsrvdd^rsrvno^statflag^rcptstat^visano^pnm^cmpynm^cncldttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="72, 59, 84, 137, 100, 65, 68, 74, 80, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:45px; width:292px; height:567px; ">
  2139. <col ref="cncldd" format="yyyy-mm-dd"/>
  2140. <col ref="pid"/>
  2141. <col ref="engnm"/>
  2142. <col ref="brthareacnts" type="combo">
  2143. <choices>
  2144. <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
  2145. <label ref="cdnm"/>
  2146. <value ref="cdid"/>
  2147. </itemset>
  2148. </choices>
  2149. </col>
  2150. <col ref="pkgcd"/>
  2151. <col ref="pkgnm"/>
  2152. <col ref="rgstno1"/>
  2153. <col ref="rgstno2"/>
  2154. <col ref="sexage"/>
  2155. <col ref="rsrvdd" visibility="hidden"/>
  2156. <col ref="rsrvno" visibility="hidden"/>
  2157. <col ref="statflag" visibility="hidden"/>
  2158. <col ref="rcptstat" visibility="hidden"/>
  2159. <col ref="visano" visibility="hidden"/>
  2160. <col ref="pnm" visibility="hidden"/>
  2161. <col ref="cmpynm" visibility="hidden"/>
  2162. <col ref="cncldttm" visibility="hidden"/>
  2163. <col ref="lastupdtrid" visibility="hidden"/>
  2164. <col ref="lastupdtdt" visibility="hidden"/>
  2165. <script type="javascript" ev:event="ondblclick">
  2166. <![CDATA[
  2167. ahafGetRsrvAcptDetlVisa(4);
  2168. ]]>
  2169. </script>
  2170. <script type="javascript" ev:event="onaftersort">
  2171. <![CDATA[
  2172. grd_cncllst.gridToInstance();
  2173. ]]>
  2174. </script>
  2175. </datagrid>
  2176. </case>
  2177. </switch>
  2178. </group>
  2179. </xhtml:body>
  2180. </xhtml:html>